VS 2010/2012/2013 Ultimate & IIS Express - "Process with Id of xxxx is not running." RRS feed

  • Question

  • User1076602806 posted

    Dev environment: Fresh install of Windows 8.1 Pro, VS2010 Ultimate, VS2012 Ultimate, & VS2013 Ultimate.

    Test done: On all 3 versions of VS - File > New Project > MVC (Default) with Properties > Web > Servers: IIS Express (8.0).

    All 3 versions of VS are reporting:

    * VS2010 & VS2012: "Unable to launch the IIS Express Web server.

    * VS2013: "Process with an Id of xxx is not running." with debug trace reports "The program '[7720] iisexpress.exe: Program Trace' has exited with code 0 (0x0). The program '[xxxx] iisexpress.exe' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'."

    I have run VS in and out of Administrator mode and receive the same results. I have uninstalled IIS Express 8.0 and Reinstalled. I have checked that IIS Express is selected in Tools > Opetions > Projects and Solutions > Web Projects > Use IIS Express is checked.

    I am out of ideas... Any thoughts???

    NOTE: Original post here: http://social.msdn.microsoft.com/Forums/vstudio/en-US/7577bac7-95b8-46c3-9dd0-2fcf340872f7/mvc5iis-express-unable-to-debug-code-not-running

    Sunday, October 27, 2013 6:42 AM


  • User1076602806 posted

    The solution to the above problem was a simple one. Close down dev environments, go to Documents folder and rename IISExpress. Now set environment variable _CSRUN_DISABLE_WORKAROUNDS ( ref: http://gauravmantri.com/2013/02/05/workaround-for-iis-express-crashing-when-running-windows-azure-cloud-service-web-role-with-multiple-instances-in-windows-azure-sdk-1-8-compute-emulator/ ).

    Now reboot PC, start VS, load website and run in debug. IIS automatically regenerated the IISExpress folder and the environment variable resolved conflicts.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, October 27, 2013 11:08 PM