Fel*_*ipe 6 visual-studio iis-express visual-studio-2015 .net-core asp.net-core
我正在开发一个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.
Run Code Online (Sandbox Code Playgroud)
我还尝试使用以下方式直接启动IIS Express:c:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error我是成功的,所以我认为问题必须在Visual Studio中的某个地方,并且我的端口(8080)是免费的.
有谁知道我还能做什么?
San*_*ket 17
如果您正在使用.NET核心/ ASP.NET核心应用程序,那么请确保您已安装这些 -
.NET Core SDK
VS 2015工具预览2
如果它似乎是解决方案特定的,那么 -
在<solution-name>\.vs\config\applicationhost.config位置查找applicationhost.config文件
尝试删除此文件并再次运行解决方案.
看看这是否有帮助.
| 归档时间: |
|
| 查看次数: |
9213 次 |
| 最近记录: |