【发布时间】:2016-08-24 21:50:31
【问题描述】:
我有一个 ASP.NET Core 1.0 应用程序,它已成功部署并在我们的预生产服务器上运行了几个月。今天我尝试使用这篇文章作为指导将网站部署到我们的生产服务器: https://docs.asp.net/en/latest/publishing/iis.html
底线是我们无法克服这个错误:
HTTP Error 502.5 - Process Failure
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
我们尝试了本文中列出的想法,但仍然没有成功: ASP.NET Core 1.0 on IIS error 502.5
如何调试 502.5 错误,以了解故障的实际原因?
正在创建应用程序的日志文件,但不幸的是它们是空的。 Web 服务器的事件查看器包含以下条目:
Process was created with commandline 'D:\Applications\PVP\UserInterface.exe' but failed to get the status, errorCode = 0x80070005
任何帮助将不胜感激!保守党。
【问题讨论】:
-
我写了这篇文章blog.3d-logic.com/2016/06/08/… 到最后它展示了解决此类错误的方法。首先检查事件日志。第二次启用stdoutLog
-
谢谢帕维尔。我通读了这篇文章。如上所述,正在创建标准输出日志文件。但总是 0 大小,所以他们没有为我提供任何有用的东西。此外,事件日志确实有一个我在上面也提到过的错误。这个错误似乎很笼统,谷歌搜索它并没有把我带到任何地方。
标签: iis asp.net-core