IIS Express crashes when starting a site from visu

2019-03-24 14:53发布

I started encountering this problem after installing the Visual Studio 2015 RC; I am no longer able to debug web projects from Visual Studio 2013.

My projects build fine and VS launches a browser - I can see in my output that iisexpress.exe loads all the relevant DLLs for the project, but then right when I would expect to see my website, iisexpress.exe stops running and Visual Studio stops debugging. All the output Window tells me is this:

The program '[3724] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
The program '[3724] iisexpress.exe' has exited with code -532462766 (0xe0434352).

Looking in the event viewer I see the following crash info for iisexpress.exe:

Faulting application name: iisexpress.exe, version: 8.0.8418.0, time stamp: 0x4fbaa9e8
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23040, time stamp: 0x553e86a2
Exception code: 0xe0434352
Fault offset: 0x0000c44d
Faulting process id: 0x1b40
Faulting application start time: 0x01d094d5c74c69d5
Faulting application path: C:\Program Files (x86)\IIS Express\iisexpress.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll

I've tried reinstalling IIS, deleting my local IISExpress folder, and still no luck. Anybody have an idea how I can get IIS running again?

10条回答
兄弟一词,经得起流年.
2楼-- · 2019-03-24 15:49

Open new visual studio project and copy and paste the same project it worked .Sometimes it might be due to visual studio issue. Thanks

查看更多
放荡不羁爱自由
3楼-- · 2019-03-24 15:51

In your project folder find the hidden .vs folder and delete it. This solved the problem for me.

查看更多
We Are One
4楼-- · 2019-03-24 15:56

Try deleting .vs folder from your project folder. Found the solution here

查看更多
一夜七次
5楼-- · 2019-03-24 15:57

I had a similar issue and this worked for me:

(i). Deleted IISExpress folder in Documents. (ii). Deleted almost everything in temp folder %temp% (may not be necessary but ...) (iii).Went into Control Panel\Programs\Turn windows features off and on and enabled IIS. (iv)Launched VS2013 project and opened and ran much faster with no apparent issue.

查看更多
登录 后发表回答