Posts

Showing posts from March, 2019

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

In my project, I use the newest Net Core 2.2, but I got the error: HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list My Web.Config <?xml version="1.0" encoding="utf-8"?> <configuration>   <location path="." inheritInChildApplications="false">     <system.webServer>       <handlers>         <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule V2 " resourceType="Unspecified" />       </handlers>       <aspNetCore processPath=".\xxx.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout">         <environmentVariables>           <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />         </environmentVariables>       </asp