+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Server Error in '/' Application.

Server Error in '/' Application.

2 posts, 0 answered
  1. Dipika
    Dipika avatar
    2 posts
    Registered:
    25 Sep 2013
    25 Sep 2013
    Link to this post
    Hi,

    Below error is coming in all sub pages. Home page is working fine.

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during
    the execution of the current web request. Please review the stack trace
    for more information about the error and where it originated in the
    code.


    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    SitefinityWebApp.Custom.LeftMenu.LeftMenu.GetFirstNode(SiteMapNode currentNode) +56
    SitefinityWebApp.Custom.LeftMenu.LeftMenu.GetFirstNode(PageSiteNode currentNode) +243
    SitefinityWebApp.Custom.LeftMenu.LeftMenu.BindMenu() +350
    SitefinityWebApp.Custom.LeftMenu.LeftMenu.Page_Load(Object sender, EventArgs e) +136
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Control.LoadRecursive() +146
    System.Web.UI.Control.LoadRecursive() +146
    System.Web.UI.Control.LoadRecursive() +146
    System.Web.UI.Control.LoadRecursive() +146
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    06 Dec 2016
    30 Sep 2013
    Link to this post
    Hello,

    It seems that you have added a custom control on the pages or inside a page template that you are using for the problematic pages. The name of the control is LeftMenu:

    SitefinityWebApp.Custom.LeftMenu.LeftMenu.GetFirstNode(SiteMapNode currentNode) +56
    SitefinityWebApp.Custom.LeftMenu.LeftMenu.GetFirstNode(PageSiteNode currentNode) +243
    SitefinityWebApp.Custom.LeftMenu.LeftMenu.BindMenu() +350

    To resolve the error remove the custom control and review it.

    Regards,
    Stefani Tacheva
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered