从Visual Studio启动网站时IIS Express崩溃

从Visual Studio启动网站时IIS Express崩溃

问题描述:

在安装Visual Studio 2015 RC之后,我开始遇到此问题;我不再能够从Visual Studio 2013调试Web项目.

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.

我的项目运行良好,并且VS启动了浏览器-在输出中可以看到iisexpress.exe加载了该项目的所有相关DLL,但是随后当我希望看到自己的网站时,iisexpress.exe就会停止运行并Visual Studio停止调试.所有输出窗口告诉我的是这样的:

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).

在事件查看器中,我看到了iisexpress.exe的以下崩溃信息:

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

我尝试重新安装IIS,删除了我的本地IISExpress文件夹,但还是没有运气.有人知道如何使IIS重新运行吗?

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?

在项目文件夹中,找到隐藏的.vs文件夹并将其删除.这为我解决了问题.

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