Handler “aspNetCore” has a bad module “AspNetCoreModuleV2” in its module list

前端 未结 12 1548
遇见更好的自我
遇见更好的自我 2020-12-29 19:32

I used angular .net core 2.2 template to build application.In localhost working fine,When i host to IIS Im getting this error.Im using IIS 10 to host the application.

<
12条回答
  •  离开以前
    2020-12-29 20:06

    By removing V2 from modules="AspNetCoreModuleV2" worked for me. Note that my issue was related to running a .net core web api from visual studio. IE Express failed with a code 500 and upon investigating the error log describing "Handler 'aspNetCore' has a bad module.." was resolved by replacing with the below.

    
      
    
    

提交回复
热议问题