我正在开发一个Web项目,但无法使用Visual Studio 2015中的IIS Express进行测试。
我已经在网上搜索了这个错误,并且找到了很多相关的参考资料,但我认为我的情况不同,因为除了“无法启动IIS Express Web服务器”之外没有显示其他错误信息。
我查看了Windows事件查看器,并获得了以下错误:
The worker process failed to initialize correctly and therefore could not be started. The data is the error.
The Module DLL C:\Program Files (x86)\IIS Express\aspnetcore.dll failed to load. The data is the error.
我曾经尝试直接启动IIS Express,方法如下:c:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error
,并且成功了。因此,我认为问题一定出在Visual Studio中,我的端口(8080)是空闲的。
请问还有其他解决方法吗?