c# - 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
如何解决?
解决方案
当我使用 IIS Express 运行时,我遇到了同样的问题。当我使用命令行运行时,它告诉我我没有 1.1 SDK。
您需要在运行应用程序之前安装.net core 1.1 SDK。
推荐阅读
- cadence-workflow - 如何从 Cadence 工作流程或活动发出自定义指标?
- java - 如何克服 java.lang.OutOfMemoryError:图像文件在 XML 代码中未在 Activity 中使用的位置。仅在某些设备中出现错误
- rust - 如何为关联常量在 Self 上设置显式生命周期?
- android - 如何使用 Qt 读取 Android 中现有的 SQLite 数据库?
- c++ - 控制台在立即获得输入后立即退出
- swift - Swift 断言失败
- amazon-web-services - 在ec2中部署rest api并通过https服务
- node.js - Express JS 上的 UnhandledPromiseRejectionWarning
- linux-kernel - 我在哪里可以找到在 Debian Stretch 上构建网络驱动程序的 pci_find_device() 声明?
- rxjs - withLatestFrom 在 switchMap 中不起作用