Asp.net core IIS 10.0详细错误500.19错误代码:0x8007000d
在本地IIS服务器中发布项目后,执行安装程序时:http://localhost/codeIIS/ 我得到一个错误500.19内部服务器错误。 以下是我的平台详细信息:Asp.net core IIS 10.0详细错误500.19错误代码:0x8007000d,asp.net-core,localhost,angular8,iis-10,Asp.net Core,Localhost,Angular8,Iis 10,在本地IIS服务器中发布项目后,执行安装程序时:http://localhost/codeIIS/ 我得到一个错误500.19内部服务器错误。 以下是我的平台详细信息: IIS-10.0 Windows 10 x64位操作系统 在我的web.config文件代码中: <?xml version="1.0" encoding="utf-8"?> <configuration> <location path=".
- IIS-10.0
- Windows 10 x64位操作系统
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\CONSOLIDATION PORTAL.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 8240d3ab-7972-48e2-91ac-f9f57451ae7e-->
如何修复该错误。从microsoft文档页面感谢-
这是由于webconfig中的XML格式不正确造成的。整合和门户之间是否应该有一个空间-
processPath=".\CONSOLIDATION PORTAL.exe"
您似乎没有安装.Net核心托管包。我建议您可以下载并安装它,然后再次测试。详细信息,您可以参考。@BrandoZhang I安装了urlrewrite.exe、aspnetcore-runtime-3.1.10-win-x64.exe和windowsdesktop-runtime-5.0.0-win-x64.exe。但错误无法修复。为什么要安装url重写?您的web.config文件是否完整?您是否在应用程序中使用url重写?如果可能,请发布整个配置文件,路径为wwwroot\xxxIIS\web.config。这是否回答了您的问题?