c# - aspnet-core-ad-authentication 项目 HTTP 错误 502.5 - 进程失败

标签 c# asp.net-core

当我运行this时项目 在 Visual Studio 2019 中,它加载带有以下错误消息的页面

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 

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 

For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681

如何解决?

最佳答案

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

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

关于c# - aspnet-core-ad-authentication 项目 HTTP 错误 502.5 - 进程失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56779633/

相关文章:

c# - 如何刷新 Entity Framework Core DBContext?

c# - 在 .NET Core/.NET 5+ 中使用 TransactionScope 和 SQL 连接池时如何避免 PlatformNotSupportedException

c# - IValueConverter 和模拟数据

c# - 无法使用 SyntaxTree 获取文档

c# - ASP.NET Core - 下载 .exe 返回 404 错误

asp.net-mvc - ASP.NET Core [FromBody] 与 MVC 5 绑定(bind)

c# - "HTTP Error 502.5 - Process Failure"使用 ASP.NET Core 2.1 WebAPI 访问 Azure PaaS 中的 Azure Key Vault

c# - 在 C# 中强制将一种程序集类型转换为另一种程序集类型

c# - 如何通过反射匹配名称和参数类型来获取 protected 方法?

c# - 文件返回时出现 InvalidOperationException