【发布时间】:2019-06-26 19:12:54
【问题描述】:
当我运行this 项目时 在 Visual Studio 2019 中,它会加载带有以下错误消息的页面
HTTP 错误 502.5 - 进程失败 此问题的常见原因:
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故障排除步骤:
Check the system event log for error messages Enable logging the application process' stdout messages Attach a debugger to the application process and inspect欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?LinkID=808681
如何解决?
【问题讨论】:
-
嘿,请确保您的 sdk asp.net core 版本与您的 Visual Studio 2019 版本相同。
-
Visual Studio 2019 附带 .NET Core 2.2 位,因此运行 .NET Core 1.1 项目可能会触发不兼容(缺少 .NET Core 1.1 运行时)。要么安装正确的运行时,要么将项目升级到 2.1 或 2.2。
-
@LexLi 你知道吗,如何将项目升级到.NET Core 2.2?
标签: c# asp.net-core