aspNetCore 2.2.0 - AspNetCoreModuleV2 error

You just need to install this package below. After that you can use the AspNetCoreModuleV2 :)

https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-2.2.2-windows-hosting-bundle-installer

When installing, please notice to install as administrator. As part of the installation the applicationHost.config file will be updated to include AspNetCoreModuleV2 and its dll. this is one of the reasons why it's important to run installation with admin privilege.


I have the same issue. it is something wrong with AspNetCoreModuleV2:

modules="AspNetCoreModuleV2" 

The site is working when I change the modules to AspNetCoreModule in the web.config:

modules="AspNetCoreModule"