.NET Core 3.0 and IIS: HTTP Error 500.30 - ANCM In-Process Start Failure: failed to load coreclr

前端 未结 3 1150
青春惊慌失措
青春惊慌失措 2021-01-13 01:14

My application runs fine within IIS Express on my development workstation, but I am having trouble deploying it to IIS. I receive the following error when I browse to the ap

相关标签:
3条回答
  • 2021-01-13 01:44

    I had to set it in the project properties otherwise it just kept resetting my web.config changes

    Image of project setting to change

    0 讨论(0)
  • 2021-01-13 01:49

    I changed the specification in Web.config to run out of process. Originally the specification was for InProcess as follows:

      <aspNetCore processPath="dotnet" arguments=".\Cashflow.dll" stdoutLogEnabled="false" hostingModel="InProcess" stdoutLogFile=".\logs\stdout">
    

    I changed this to OutOfProcess:

      <aspNetCore processPath="dotnet" arguments=".\Cashflow.dll" stdoutLogEnabled="false" hostingModel="OutOfProcess" stdoutLogFile=".\logs\stdout">
    

    and Bingo! The application runs as expected.

    Can anyone explain why?

    0 讨论(0)
  • 2021-01-13 02:04

    YOu can set OutOfProcess through Project--> Right click -->Properties-->Debug-->Hosting Model

    0 讨论(0)
提交回复
热议问题