More in this section

Forums / Bugs & Issues / Error after deleting page then logging out

Error after deleting page then logging out

4 posts, 0 answered
  1. Phill Hodgkinson
    Phill Hodgkinson avatar
    362 posts
    Registered:
    10 Nov 2004
    13 Dec 2010
    Link to this post
    Hi there,

    Here's an easy one to reproduce: 
    1. Delete a page (in my 2 tests I deleted the last page in the list of pages). 
    2. Click the "Logout" link.

    You'll see the following error:

    Server Error in '/' Application.

    You are trying to access item that no longer exists. The most probable reason is that it has been deleted by another user.

    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: Telerik.Sitefinity.SitefinityExceptions.ItemNotFoundException: You are trying to access item that no longer exists. The most probable reason is that it has been deleted by another user.

    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: 

    [ItemNotFoundException: You are trying to access item that no longer exists. The most probable reason is that it has been deleted by another user.]
       DynamicModule.ns.Wrapped_OpenAccessPageProvider_1206ab996b694661adecfefc2df4d6da.GetPageNode(Guid id) +413
       Telerik.Sitefinity.Web.SiteMapBase.IsAccessibleToUser(HttpContext context, SiteMapNode node) +362
       Telerik.Sitefinity.Web.SitefinitySiteMap.IsAccessibleToUser(HttpContext context, SiteMapNode node) +24
       Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node, Boolean ifAccessible) +1454
       Telerik.Sitefinity.Web.SiteMapBase.FindSiteMapNode(String rawUrl, Boolean ifAccessible, Boolean fallbackToOtherLanguageVersion, Boolean& isExactMatch) +1539
       Telerik.Sitefinity.Web.SiteMapBase.FindSiteMapNode(String rawUrl, Boolean ifAccessible) +33
       Telerik.Sitefinity.Web.SitefinityRoute.GetRouteData(HttpContextBase httpContext) +461
       System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +370
       System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +75
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266


    After this the only way to then log back into the Sitefinity site is to recycle the site/app pool.

    Regards,
    Phill
  2. Neven Dinev
    Neven Dinev avatar
    43 posts
    Registered:
    24 Jan 2017
    13 Dec 2010
    Link to this post
    Hi Phill ,

    I reproduced and logged the issue  in our system with ID 102071. I updated your Telerik points.

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Christine
    Christine avatar
    31 posts
    Registered:
    25 Jan 2008
    07 Mar 2011
    Link to this post
    Has this issue been resolved?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    08 Mar 2011
    Link to this post
    Hello Christine,

    The issue should be fixed in the SP1.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
4 posts, 0 answered