Error on Creating Page

Posted by Community Admin on 04-Aug-2018 00:20

Error on Creating Page

All Replies

Posted by Community Admin on 02-Aug-2011 00:00

Hi there,

When I tried to create a page from the Sitefinity admin, I'm getting this error.

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.]
   Telerik.Sitefinity.Web.UI.ContentUI.Views.Backend.Detail.DetailFormView.SetUpNavigation(IDetailFormViewDefinition def) +37
   Telerik.Sitefinity.Web.UI.ContentUI.Views.Backend.Detail.DetailFormView.OnPreRender(EventArgs e) +83
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225 

Posted by Community Admin on 02-Aug-2011 00:00

I found that the error was caused by removing any of these modules:

<add version="4.1.1405.0" name="Blogs" />
<add version="4.1.1405.0" name="Events" />
<add version="4.1.1405.0" name="Libraries" />
<add version="4.1.1405.0" name="Lists" />
<add version="4.1.1405.0" name="Analytics" />
<add version="4.1.1405.0" name="Scheduling" />
<add version="4.1.1405.0" name="Publishing" />
<add version="4.1.1405.0" name="Newsletters" />
<add version="4.1.1405.0" name="GenericContent" />
<add version="4.1.1405.0" name="ControlTemplates" />

(Note: All the corresponding backend pages were removed and the site works fine until you click on "create a page")

This thread is closed