Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

IIS Express Issues after v6.5 Upgrade (AspNetCoreModuleV2) #6286


User avatar
0
[email protected] created

I have upgraded to Zero v6.5 MVC. I have upgraded the ASP CORE SDK and Web hosting bundle to v2.2.1.

However when I host the web project from within Visual Studio in IIS Express, the following error occurs:

HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list

From within the web.config for the MVC project if I change the aspNetCore module to AspNetCoreModule rather than AspNetCoreModuleV2 then I am able to debug. However I am concerned this is a work around and not a fix.

Has anyone else experienced this issue?


4 Answer(s)
  • User Avatar
    0
    [email protected] created

    Further to the issue I raised yesterday.

    When I created a fresh new ASP NET CORE 2.2 web project within Visual Studio, no aspNetCore module is explicitly set and the project does run in IIS Express successfully.

  • User Avatar
    0
    yekalkan created

    What is your visual studio version?

    I faced the same issue on another solution today and upgrading visual studio to latest version fixed the problem.

  • User Avatar
    0
    [email protected] created

    I am currently running 15.7.3; today I will update to 15.9.5 and see if that resolves the issue.

  • User Avatar
    0
    [email protected] created

    Upgrading Visual Studio fixed the issue, thank you.