ANCM In-Process Handler Load Failure

HTTP Error 500.0 - ANCM In-Process Handler Load Failure

Common causes of this issue:

  • The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
  • The in process request handler, Microsoft.AspNetCore.Server.IIS, was not referenced in the application.
  • ANCM could not find dotnet.

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=2028526

根据对应编号排查相关异常故障。

更新了代码后,出现以上错误,发现新打包的文件数与旧文件不符合,检查缺少:Microsoft.VisualStudio.Web.BrowserLink.dll

将更新后的打包文件复制到发布目录即可。

 

还有一种原因可能是:缺少动态dll文件造成,因nuget安装新插件后对应的动态dll没有复制到你的网站或应用(已上线)的更新目录中,检查对应文件即可。

声明:本站内容来源于原创和互联网,尊重作者版权,转载请注明来源网址,欢迎收藏,谢谢!