Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For some reason our umbraco.config file was deleted while working on the site. I need to get it restored ASAP for obvisous reasons. I am running /Umbraco/dialogs/republish.aspx?xml=true but its just sitting there, I'm not sure if its working or timed out. Any suesstions? We are running version 6.0.6 and have something like 20,000 nodes I think the Umbraco.config file was around 20MB when it crashed..... Any alternatives??
I just deleted config file on a 6.1.1 site. Went back to sites homepage and the file was automatically regenerated i.e. I didn't have to republish.
Also, perhaps it is timing out regenerating the file so you could increase the timeout in IIS?
Thanks for replying Paul.
It could be timing out but the worker process w3p3.exe is still increasing memory usage so I am guessing its doing something. I'm reluctant to stop it because its been going for ages so far. We have a truck load of nodes so maybe it just takes this long. If i goto the homepage it just goes to the nonodes.aspx page.
You shouldn't need to do a 'republish'. Delete the /config/umbraco.config file and then touch the web.config to force an application pool restart. Upon restart the database will be queried (a lot) and the umbraco.config data will be recreated on disk automatically. A republish will publish all pages which will take forever. You don't need a republish, just a refresh of the config with the existing data.
think my issue is the following....
Seems like there is an error in my XML somehwere :( From what I read it can be hard to track down. With 11,000 nodes......Must be a way :)
ERROR umbraco.content - [Thread 115] Error Republishing
System.Xml.XmlException: '', hexadecimal value 0x0C, is an invalid character. Line 24, position 541.
at System.Xml.XmlTextReaderImpl.Throw(String res, String args)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
Perhaps this piece by Simon Anthony can help? http://www.simonantony.net/knowledge-base/articles/error-republishing-systemxmlxmlexception-hexadecimal-value-0x01-is-an-invalid-character/
Hmm, ok now I'm not sure it will help since from what I can tell 0x0c corresponds to a comma according to this table? http://web.cs.mun.ca/~michael/c/ascii-table.html
EDIT: Sorry, read the table wrong...it corresponds to np, which is a formfeed...whatever that means?
THANKYOU!!! Fixed... I owe you a beer when you're in New Zealand next :)
Happy I could help - Hmm, I better start planning a trip then! :D
Have a nice day mate.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted