While deploying .net core web application, I got an Error saying
When I checked web.config there is following line of code
Change AspNetCoreModuleV2 to AspNetCoreModule make the application work.
You may face this issue in Azure environment too.
Aspnetcore 2.2 Targetting .Net Framework, InProcess fails on azure app service with error TTP Error 500.0 - ANCM In-Process Handler Load Failure
http error 500.0 - ancm in-process handler load failure iis express
http error 500.0 - ancm in-process handler load failure localhost
http error 500.0 - ancm in-process handler load failure stackoverflow
ancm in-process handler load failure swagger
swagger http error 500.0 - ancm in-process handler load failure
azure http error 500.0 - ancm in-process handler load failure
ancm in-process handler load failure azure
ancm could not find dotnet.
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
When I checked web.config there is following line of code
Change AspNetCoreModuleV2 to AspNetCoreModule make the application work.
You may face this issue in Azure environment too.
Aspnetcore 2.2 Targetting .Net Framework, InProcess fails on azure app service with error TTP Error 500.0 - ANCM In-Process Handler Load Failure
http error 500.0 - ancm in-process handler load failure iis express
http error 500.0 - ancm in-process handler load failure localhost
http error 500.0 - ancm in-process handler load failure stackoverflow
ancm in-process handler load failure swagger
swagger http error 500.0 - ancm in-process handler load failure
azure http error 500.0 - ancm in-process handler load failure
ancm in-process handler load failure azure
ancm could not find dotnet.