Server Error in '/' Application.

Posted by Community Admin on 03-Aug-2018 08:26

Server Error in '/' Application.

All Replies

Posted by Community Admin on 25-Sep-2013 00:00

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

Posted by Community Admin on 30-Sep-2013 00:00

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

This thread is closed