Occasionally when running my MVC4 site in VS2012 using IISExpress I get the following error and IISExpress stops:
iisexpress.exe: Managed (v4.0.30319)' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified
There is nothing in the event log for this and I cant find anything on the interweb.
I have some very vague theories:
Oh and I also had the same error when using the VS Dev web server. I havent tried full IIS yet.
Anyone else go a clue ??
Thanks
UPDATE:
I fixed a couple of nuget references which seemed to stabalize things a bit, then this morning it happened again. The VS output window shows this:
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\peter.jones\AppData\Local\Temp\Temporary ASP.NET Files\root\a4aa93f7\dfa23a50\App_Web_rpzlbjhw.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\peter.jones\AppData\Local\Temp\Temporary ASP.NET Files\root\a4aa93f7\dfa23a50\App_Web_c1rjct4s.dll', Symbols loaded.
The program '[11072] iisexpress.exe: Managed (v4.0.30319)' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'.
If there is some more useful logging somewhere I will happily provide it.
Cheers
vs2013 -> tool -> option -> project & solution-> web project -> cancel use IIS Express 64
Hope this can help you!
Enable Failed Request trace logging in IIS to capture errors
link here
and you can get more information about the thread on IIS forums
Good luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With