Invalid tag in web.config file HTTP Error 500.19

0

Built a c# web app in Visual Studio, installed it on the IIS server. When I try to browse to it locally, I get HTTP Error 500.19 - Internal Server Error - Error Code 0x8007000d, And I can't double click on any of the settings for that app in IIS, it complains about an error in the web.config.

If I remove the line below, I can double click the settings in IIS, but the page doesn't work, so I'm guessing I am missing a prerequisite or something related to this web.config tag, but I can't find it?

<aspNetCore processPath="dotnet" arguments=".\WebApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
c#
.net
iis
web-config
asked on Stack Overflow May 13, 2020 by DaveHog • edited May 13, 2020 by Daniel A. White

1 Answer

0

Mason's response of

Did you install the ASP.NET Core hosting package? – mason

Fixed the issue

answered on Stack Overflow May 15, 2020 by DaveHog

User contributions licensed under CC BY-SA 3.0