Copied to clipboard

Flag this post as spam?

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


  • Rob Watkins 343 posts 593 karma points
    Feb 06, 2014 @ 14:49
    Rob Watkins
    0

    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:

    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:

    Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
    Exception code: 0xe0434352
    Fault offset: 0x0000b9bc
    Faulting process id: 0x3c8
    Faulting application start time: 0x01cf233feee21a70
    Faulting application path: C:\WINDOWS\SysWOW64\inetsrv\w3wp.exe
    Faulting module path: C:\WINDOWS\syswow64\KERNELBASE.dll
    

    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.

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Feb 06, 2014 @ 16:19
    Ismail Mayat
    0

    We had similar issue recently except it was moving to 2012 app pool allow 32bit sorted it

  • Rob Watkins 343 posts 593 karma points
    Feb 06, 2014 @ 16:55
    Rob Watkins
    0

    What version of Umbraco were using using, just out of interest?

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Feb 06, 2014 @ 18:47
    Ismail Mayat
    0

    We had a number of sites from 4.0.42 to 4.7

    Regards

    Ismail

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies