asp.net core 2.0发布到IIS报错 HTTP Error 502.5 - Proces

2019-01-02 21:42发布

问题:

错误信息:

Common causes of this issue:
• The application process failed to start
• The application process started but then stopped
• The application process started but failed to listen on the configured port

Troubleshooting steps:
• Check the system event log for error messages
• Enable logging the application process' stdout messages
• Attach a debugger to the application process and inspect

查看windows事件日志错误显示:
Application 'MACHINE/WEBROOT/APPHOST/FORM' with physical root 'C:\fabu' failed to start process with commandline 'dotnet .\Cloud.Boss.dll', ErrorCode = '0x80004005 : c0000135.

回答1:

在 web.config 中将 stdoutLogEnabled 设置为 true ,然后看一下 logs\stdout 中是否有错误日志



回答2:

安装运行时就可以了, .net core runntime



标签: