ASP.NET Core website in IIS - "HTTP Error 500.19" error

Wed Jan 16 2019Uncategorized

When running an ASP.NET Core website in IIS, you may experience the following error:

"HTTP Error 500.19 – Internal Server Error" (Code: 0x8007000d)

The following article describes the error as being "This problem occurs because the ApplicationHost.config file or the Web.config file contains a malformed XML element.":

This comes down to the presence of the following tag:

<aspNetCore processPath=".\MyWebsite.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />

You'll need to install the "ASP.NET Core/.NET Core: Runtime & Hosting Bundle" on to the server. This is found on the .NET downloads website and can be located by following the link at "Can't find the file you want? Find more in .NET Core 2.2 downloads.".

GatsbyNetlifyReactTypeScriptTailwind CSS
© Copyright 2008-2022 Terry Butler