ASP.NET Core module not in IIS

1

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 <aspNetCore> as a valid element in the web.config.

Here are the things I've tried:

I've tried adding it as a managed module and put the path for AspNetCoreModule, but looks like it doesn't fix the issue. Enable stdoutLog doesn't work, because it simply won't generate any log file.

Any idea on how to solve this?

iis
asp.net-core
asp.net-core-2.0
iis-express
asked on Stack Overflow Jun 19, 2018 by yyc

3 Answers

1

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

answered on Stack Overflow Jul 16, 2018 by yyc
0

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

answered on Stack Overflow Feb 12, 2019 by DENA BANK
0

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

answered on Stack Overflow Apr 7, 2019 by Haim Kirger

User contributions licensed under CC BY-SA 3.0