Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list

"Error While publishing aspNetCore Application on IIS. (HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list")

September 2, 2020

I faced this issue while publishing my "aspNetCore" application on server.

My Application was successfully running on localhost. To identify this issue i have published my application on my local IIS.

After publishing on local ISS i got same issue.

Application worked when i installed "aspNetCore Hosting Bundle" on my local machine.

you can fix this by Installing the (latest or specific version of your project) .Net Core run-time hosting bundle on local and hosting machine.

Additional References:

1. https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1
2. https://dotnet.microsoft.com/download/dotnet-core/3.1

Post Comments(0)

Leave a reply

Will not be displayed in comment box .

Loading...