Discovery that might help someone; I couldn't find anything on it. If anyone can give me a reason and a better fix, that'd be cool.
Just moved a working but old 4.6.1 site from a Server 2003 32 bit machine to a Server 2008 64 bit machine.
Spun up the site, and first visit works fine, every subsequent request generated:
Exception: System.IO.IOException
Message: The process cannot access the file 'C:\PROJECTS\cfront\App_Data\umbraco.config' because it is being used by another process.
Followed by:
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
Stack:
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.File.InternalDelete(System.String, Boolean)
at System.IO.File.Delete(System.String)
at umbraco.content.DeleteXmlCache()
at umbraco.content.PersistXmlToFile(System.Xml.XmlDocument)
...
Followed by the worker process crashing and stopping:
Moving from 32 bit to 64 bit server
Discovery that might help someone; I couldn't find anything on it. If anyone can give me a reason and a better fix, that'd be cool.
Just moved a working but old 4.6.1 site from a Server 2003 32 bit machine to a Server 2008 64 bit machine.
Spun up the site, and first visit works fine, every subsequent request generated:
Followed by:
Followed by the worker process crashing and stopping:
Fixed this by changing the AppPool settings to
Allow 32 bit applications = true
I have later version Umbraco sites moved onto there that run fine.
We had similar issue recently except it was moving to 2012 app pool allow 32bit sorted it
What version of Umbraco were using using, just out of interest?
We had a number of sites from 4.0.42 to 4.7
Regards
Ismail
is working on a reply...