ASP.NET Core module not in IIS

前端 未结 3 1571
盖世英雄少女心
盖世英雄少女心 2021-01-27 18:04

I am keep getting 500.19(0x8007000d) error when running my .NET core project through IIS Express. After a bit digging, it looks like IIS doesn\'t recognize

3条回答
  •  故里飘歌
    2021-01-27 18:54

    I got it working finally. Because all my website is under the default website, I went to install AspNetCoreModule module for the default website.

    After it was installed, I noticed a change in the web.config under the default website. At the same time, AspNetCoreModule module is also listed as Native module in the module section.

    The real error message is web.config was trying to install AspNetCoreModule, but it is already installed. Then I deleted the section in the web.config under the default website and it worked...

    The website used to work before I turned off/on windows IIS features. Really not sure what caused this...

提交回复
热议问题