I'm panicking right now. I have managed to screw up something in our umbraco installation so that every page you try to visit gives you a "An error occurred while processing your request."
All my content is still visible in content tree and preview shows everything fine. I have tried republishing and also to rebuild the xml tables with no luck.
All I see is the "An error occurred while processing your request." on a blank page, even with customerrors off in web-config.
The only thing I have found in the UmbracoLog that looks interesting is this:
Error Republishing: System.ArgumentException: Item has already been added. Key in dictionary: '1543' Key being added: '1543' at System.Collections.Hashtable.
Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at umbraco.content.LoadContentFromDatabase(Boolean loadDocuments)
It seems to me that I've already seen such a situation once but I don't remember exactly how it was gone. I would try to stop completely the iis application, remove the umbraco content file (the default one is "umbraco.config" ) and than to start the application back and republish the entire site.
Ok so by some magic I managed to get it up and running within 30 minutes of posting here, I have been troubleshooting for 2 days up until now :)
Ridion: I actually tried your solution with no succcess. I ended up having to unpublish everything from the database (cmsDocument) and when doing a republish after that the wierd error was gone.
Content only visible in preview
Hi guys,
I'm panicking right now. I have managed to screw up something in our umbraco installation so that every page you try to visit gives you a "An error occurred while processing your request."
All my content is still visible in content tree and preview shows everything fine. I have tried republishing and also to rebuild the xml tables with no luck.
Can anybody help me?
Can you show us a screen grab or the error? Sounds like a permissions thing on the application pool....
S
All I see is the "An error occurred while processing your request." on a blank page, even with customerrors off in web-config.
The only thing I have found in the UmbracoLog that looks interesting is this:
Error Republishing: System.ArgumentException: Item has already been added. Key in dictionary: '1543' Key being added: '1543' at System.Collections.Hashtable.
It seems to me that I've already seen such a situation once but I don't remember exactly how it was gone. I would try to stop completely the iis application, remove the umbraco content file (the default one is "umbraco.config" ) and than to start the application back and republish the entire site.
Ok so by some magic I managed to get it up and running within 30 minutes of posting here, I have been troubleshooting for 2 days up until now :)
Ridion: I actually tried your solution with no succcess. I ended up having to unpublish everything from the database (cmsDocument) and when doing a republish after that the wierd error was gone.
Thanks for fast responses guys!
is working on a reply...