Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1329 posts 1580 karma points
    1 week ago
    Gordon Saxby
    0

    The Xml cache is corrupt

    We keep getting this error every time the website is restarted (IIS app pool recycled / website restarted).

    The XML Data Integrity Report tab does NOT show any errors.

    Deleting \app_data\umbraco.config and doing a site republish solves the problem, or at least removes the "XML cache is corrupt" error but it does not appear to be a permanent fix.

         2020-03-26 09:44:11,599 [P6108/D2/T33] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
    System.Exception: The Xml cache is corrupt. Use the Health Check data integrity dashboard to fix it.
       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.HasContent(UmbracoContext umbracoContext, Boolean preview)
       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.HasContent(Boolean preview)
       at Umbraco.Web.UmbracoModule.EnsureHasContent(UmbracoContext context, HttpContextBase httpContext)
       at Umbraco.Web.UmbracoModule.EnsureUmbracoRoutablePage(UmbracoContext context, HttpContextBase httpContext)
       at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    

    Any ideas what could be causing this?

  • Gordon Saxby 1329 posts 1580 karma points
    1 week ago
    Gordon Saxby
    0

    Hmm, I found that there were a load of unresolved changes being indicated by uSync. None of them were changes that had not actually been done (i.e. the actual DataTypes, Templates, etc were already as they should be).

    I "processed" them all by manually saving each listed item in Umbraco.

    I then cycled the app pool and restarted the website ... and it loaded up OK (no XML cache error). Could that have been the problem / solution??

Please Sign in or register to post replies

Write your reply to:

Draft