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

后端 未结 16 2907
攒了一身酷
攒了一身酷 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:05

    You can get this if you try to access the site using a IIS url but Visual Studio is setup to use IISExpress

    See also ASP.Net Core 1.0 RC2 : What are LAUNCHER_PATH and LAUNCHER_ARGS mentioned in web.config?

    Long story short, the web.config is changed by Visual Studio when you switch between IIS and IISExpress. If you use an IIS url when it's setup to use IISExpress then the aspNetCore processPath will be wrong

    Also, it's not uncommon to copy web.config files. You could get the same error if you don't change the processPath

提交回复
热议问题