How to fix error “ANCM In-Process Handler Load Failure”?

后端 未结 16 2913
攒了一身酷
攒了一身酷 2020-12-13 17:39

I\'m setting up the first site in IIS on Windows Server 2016 Standard. This is a NET Core 2.2 application. I cannot get the site to show.

I am getting th

16条回答
  •  北海茫月
    2020-12-13 18:02

    I'm also getting "HTTP Error 500.0 - ANCM In-Process Handler Load Failure"

    Except in my case...Everything was running great until I got the Blue Screen of Death.

    I have a solution with two startup projects.
    One is an API (that comes up) and the other is a WebApp(which gets the error). Both are .NET Core 3.1..also VS2019.

    First I tried setting a break point in Main() of program.cs...it never got this far.

     public static void Main(string[] args)
     {
         CreateHostBuilder(args).Build().Run();
     }
    

    On a hunch...I Looked at the NuGet packages installed. I uninstalled and (re)installed

    Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation(3.1.6)
    

    ...and now its working again.

提交回复
热议问题