隐藏

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

发布:2022/3/31 23:11:43作者:管理员 来源:本站 浏览次数:1343

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

Common solutions to 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


原因:一般来说是由于.NET Core SDK的版本引起的,此时需要观察项目的所需的版本和本地存在的板本是否一致。

本例中,项目所需的版本是2.2如下图所示

本地存在的版本如下图所示,是不存在2.2版本的,此时需要去官网下载2.2版本的.Net Core SDK安装即可(https://dotnet.microsoft.com/download/dotnet-core)

注:安装后重启VS。