Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pradip 5 posts 25 karma points
    Mar 02, 2010 @ 06:01
    Pradip
    0

    error while running aspx page

    I am getting the below error while inherting the umbraco masterpage in a aspx page and running it from visual studio 2005

    Server Error in '/' Application.

     

    Object reference not set to an instance of an object.

     

    [NullReferenceException: Object reference not set to an instance of an object.] umbraco.item..ctor(IDictionary elements, IDictionary attributes) +576 umbraco.presentation.templateControls.ItemRenderer.GetFieldContents(Item item) +418 umbraco.presentation.templateControls.ItemRenderer.ParseMacros(Item item) +66 umbraco.presentation.templateControls.ItemRenderer.Init(Item item) +7 umbraco.presentation.templateControls.Item.OnInit(EventArgs e) +92 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

     

     

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Mar 02, 2010 @ 10:12
    Thomas Höhler
    0

    The umbraco masterpage has to run in the umbraco context as I know. So you cannot use it separately in an own VS project...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies