首页 > 解决方案 > Web 应用程序 IIS 错误 HTTP 500.19

问题描述

我想在 IIS 上托管我的 Web 应用程序。但我总是得到一个错误。HTTP 500.19 - 内部服务器错误代码:0x8007000d 它说配置文件不好(在我的情况下是 web.config)它有什么问题?

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="dotnet" arguments=".\ServerApplication.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
  </system.webServer>
</configuration>
<!--ProjectGuid: b5218e98-989b-4275-96f0-53c91a5f235a-->

标签: httpiiswebhost

解决方案


这是一个 ASP.NET Core 应用程序,因此在安装 .NET Core Windows Server Hosting 后一切正常


推荐阅读