HTTP Error 500.31 - Failed to load ASP.NET Core runtime IIS issue
使用ASP.NET Core Diagnostics for IIS/IIS Express
Cannot locate runtime config file HttpApi.Host\HttpApi.Host.runtimeconfig.json
https://dotnet.microsoft.com/en-us/download/dotnet
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
HTTP Error 500.31 - Failed to load ASP.NET Core runtime
评论:
其它配置问题
The two files, .\MyApp.dll
and .\bin\Debug\.net6.0\MyApp.dll
, are both executable files for an ASP.NET Core application. The main difference between the two files is that the .\MyApp.dll
file is the compiled output of the application, while the .\bin\Debug\.net6.0\MyApp.dll
file is a debug build of the application.
开发环境用带有bin目录的路径作为arguments,生产环境不需要带bin的路径
作者:Chuck Lu GitHub |
ASP.NET Core Diagnostics for IIS/IIS Express — Jexus Manager 12.0 documentation
In my case, the target machine was missing the ASP.NET Core runtime itself.
Issue is resolved after installing the Hosting Bundle from .Net Core 3.1
In my case, the target machine was missing the ASP.NET Core runtime itself.
Issue is resolved after installing the Hosting Bundle from .Net Core 3.1