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

Forums / Developing with Sitefinity / Error on Creating Page

Error on Creating Page

2 posts, 0 answered
  1. Zhi
    Zhi avatar
    10 posts
    Registered:
    27 Sep 2010
    02 Aug 2011
    Link to this post
    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 

  2. Zhi
    Zhi avatar
    10 posts
    Registered:
    27 Sep 2010
    02 Aug 2011
    Link to this post
    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")
2 posts, 0 answered