7

I am getting this error after deploying Umbraco website to the shared hosting site.

Couldn't able to find any solution. Tried refreshing App Pool

The Xml cache is corrupt. Use the Health Check data integrity dashboard to fix it.

enter image description here

Please if anyone can help, I am on production server now. Local is running perfectly fine.

Khawaja Asim
  • 1,327
  • 18
  • 38

7 Answers7

4

We've had the same issue recur a few times over the last few weeks, with content editors suddenly unable to preview anything.

  • "Republish entire site" - doesn't work
  • Restarting the site / recycle app pool - doesn't work
  • Deleting Umbraco's cache - doesn't work
  • umbracoUseSSL is already set correctly

What does work, every time: Empty Umbraco's recycle bin!

Can anyone provide some insight as to why that's a solution, or anything we can do about it? How could the recycle bin's contents even be involved in the previewing functionality?


Edit: the issue we were experiencing was fixed in the 7.15.1 update, as mentioned by Steve Megson here:

There was an issue with preview in 7.15.0 (fixed in 7.15.1) which would throw this exception when it failed to generate the preview version of the XML cache

Matt Wanchap
  • 841
  • 8
  • 20
2

Are you able to access the URL "/umbraco/dialogs/republish.aspx?xml=true" on your production server?

I've had this happen in the past on earlier versions of Umbraco, and after running this I have been able to go into the backoffice and address the issues with the XML data integrity.

Outside of this, I echo Robert's point on posting on Our.

Mike B
  • 12,768
  • 20
  • 83
  • 109
  • If you were to use a backup of the production site on your local code base, does it work? – Mike B Apr 19 '18 at 12:25
  • To indulge me, have you tried clearing all the runtime generated files from your App_Data folder? Things like your Examine indexes and the like. – Mike B Apr 19 '18 at 13:49
1

See this forum thread on our.umbraco.org

It provides some troubleshooting tips you can try. It would also help to know what version of Umbraco the site is running on.

Robert Foster
  • 2,317
  • 18
  • 28
  • Nothing works sir, that's why I posted here. Can you guide me? – Khawaja Asim Apr 18 '18 at 19:15
  • first of all, what version of Umbraco is the site running on? What have you tried so far? – Robert Foster Apr 18 '18 at 19:16
  • Umbraco version 7.9.2, App pool restarted, tried deleting Umbraco.config file – Khawaja Asim Apr 18 '18 at 19:24
  • Post the question on the forum on Our.Umbraco - I'll make sure it's not marked as spam, and you'll be able to get the help of the full Umbraco community - there are too many variables to be able to answer it here – Robert Foster Apr 18 '18 at 19:26
  • Something else you can try is looking in the logfile in ~/App_Data/Logs and see if there are any exceptions thrown there. It's possible there's a specific content node that's failing to publish properly, and you may need to go directly to it and click the Publish button. – Robert Foster Apr 18 '18 at 19:50
1

The same error message also appears if you forget to add providerName="System.Data.SqlClient" to the connection string!

snerpton
  • 54
  • 3
0

I had this same issue, i have fixed this by editing the web.config file. I had to set umbracoUseSSL to true

Akbar Badhusha
  • 2,415
  • 18
  • 30
0

The web.config setting <add key="Umbraco.Preview.Mode" value="Legacy" /> is fixing it for us in version 7.15.6

spoekes
  • 833
  • 3
  • 8
  • 14
0

I had this problem after upgrading an old v4 website to the latest version of v7(7.15.10) and adding MaxPool=1000 to the connection string seems to have fixed the problem.

Nurhak Kaya
  • 1,470
  • 1
  • 18
  • 20