IIS Express已使用ASP Core停止

时间:2016-11-14 09:02:00

标签: asp.net-core iis-express

我在项目中使用asp核心 在调试模式下,我无法在浏览器中看到我的视图,因为IIS Express突然启动和停止!因此,网页不可用。

2 个答案:

答案 0 :(得分:0)

platform

检查project.json中的provided。 因为我们在项目团队中工作,所以平台是基于其他系统的x86。

答案 1 :(得分:0)

I have had the same thing happen to me from time to time. The last time was caused when I moved an application from a development system to a test system. The problem was not having the correct version of asp.net-core on the test machine. Other missing DLL's have caused me similar problems.

To find the problem I needed to look at the logs. There will be a message somewhere. I would start with the IISExpress log (default location %userprofile%\documents\IISExpress). You might find something in the windows event logs (use event viewer). Other things I have tried are to invoke the application directly - have a look at this article for the Developer Community. (The article also shows how to use WinDbg to grab an error message and gives a few other hints.)