More in this section

Forums / Bugs & Issues / System.OutOfMemoryException and site is no more editable

System.OutOfMemoryException and site is no more editable

2 posts, 0 answered
  1. Andre
    Andre avatar
    23 posts
    Registered:
    07 Feb 2008
    19 Jan 2012
    Link to this post
    Hi,

    I tried to change a template for the start site and when I execute SF 4.3 now I get an exception:

    Server Error in '/' Application.
    Exception of type 'System.OutOfMemoryException' was thrown.
    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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    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:

    [OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
       System.Collections.Generic.List`1.set_Capacity(Int32 value) +62
       System.Collections.Generic.List`1.EnsureCapacity(Int32 min) +34
       System.Collections.Generic.List`1.Add(T item) +54
       Telerik.Sitefinity.Modules.Pages.PageHelper.GetTemplates(PageNode pageNode) +64
       Telerik.Sitefinity.Web.PageSiteNode.LoadPageData() +554
       Telerik.Sitefinity.Web.PageSiteNode.EnsurePageDataLoaded() +5
       Telerik.Sitefinity.Web.RouteHelper.SslRedirectIfNeeded(HttpContextBase httpContext, PageSiteNode node) +34
       Telerik.Sitefinity.Web.SitefinityRoute.ProcessRedirects(HttpContextBase httpContext, PageSiteNode& node, Boolean isAdditionalUrl, String[] urlParams) +547
       Telerik.Sitefinity.Web.SitefinityRoute.GetRouteData(HttpContextBase httpContext) +376
       System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +287
       System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60
       System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


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

    The same error occurs when I try to edit the page.
    Also when I change back to the old template used he exception occurs.

    What I found about tihs issue are problems with different languages or self refering sites.
    But there's no second language installed an the project worked fine before ..
    The new page template works also fine when I try it with a new created page.

    Any idea what happens here?

    Thanks

    Andre
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    30 Oct 2017
    21 Jan 2012
    Link to this post
    Hello Andre,

    can you please go to Design->Page Templates and check if you have a template that's based on itself? This might cause problematic behavior similar to the one you're describing. If you have one, please delete and recreate it. If any issues persist, please let us know.

    Regards,
    Boyan Barnev
    the Telerik team
    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