C# HTTP错误500.19-0x8007000d-web.config
我有一个.net 2.1核心web应用程序,该应用程序在IIS中本地工作,但我收到一个500.19错误。当我尝试在IIS中访问网站的任何功能时,我收到一个错误:执行此操作时出错。有人能帮我解决这个问题吗?谢谢 铬-C# HTTP错误500.19-0x8007000d-web.config,c#,asp.net-core,C#,Asp.net Core,我有一个.net 2.1核心web应用程序,该应用程序在IIS中本地工作,但我收到一个500.19错误。当我尝试在IIS中访问网站的任何功能时,我收到一个错误:执行此操作时出错。有人能帮我解决这个问题吗?谢谢 铬- HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \\?\C:\Development\adtool\trunk\AD Tool\web.config
Requested URL http://adtool.local:80/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
web.config-
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="bin\IISSupport\VSIISExeLauncher.exe" arguments="-argFile IISExeLauncherArgs.txt" stdoutLogEnabled="false" />
</system.webServer>
</location>
</configuration>
如上所述,您需要安装.net核心软件包。例如,我将分享我的案例,其中我为.NETCore2.2.3配置了服务器。它应该是这样的: 并将应用程序池设置为: .NET CLR版本-将值设置为“无托管代码” 托管管线模式-将值设置为“集成”
如果您仍然面临问题,请告诉我。这是您第一次在此IIS上部署.net核心应用程序吗?此错误代码主要是在宿主环境未安装所需的核心软件包时出现的。是的,这是我第一次安装web.config.install:Microsoft.net core-Windows Server hosting`中未指定的.net core模块和URLrewrite。下面的答案中给出了详细信息当我在IIS中重新创建网站时,我可以看到ASP.NET面板,但我在IIS中重新创建网站时,我仍然看到上面的错误。你的意思是,你得到了相同的错误吗?你安装了哪些软件包?