ASP.NET Core module not in IIS

好久不见. 提交于 2019-12-02 07:06:26

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 <modules> 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...

Add Native module with path C:/windows/system32/inetsvr/aspnetcore.dll

Repairing the core server hosting from the add remove program did the trick - It seems like IIS was installed or changed after core windows server hosting. According to Microsoft is such case you need to repair the hosting bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!