首页 > 解决方案 > aspnet-core-ad-authentication 项目 HTTP 错误 502.5 - 进程失败

问题描述

当我在 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

如何解决?

标签: c#asp.net-core

解决方案


当我使用 IIS Express 运行时,我遇到了同样的问题。当我使用命令行运行时,它告诉我我没有 1.1 SDK。

您需要在运行应用程序之前安装.net core 1.1 SDK


推荐阅读