IIS 上的错误 500.19 内部服务器错误
Error 500.19 Internal server error on IIS
有很多关于此消息错误的问题,我尝试了所有建议的解决方案,但 none 个有效
我有一个 ASP .NET 网络应用程序,我将应用程序注册到 IIS,当我访问该页面时出现此错误:
HTTP Error 500.19 internal server error The requested page cannot be
accessed because the related configuration data for the page is
invalid
错误代码为:0x8007000d
我post我的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=".\ReviewerServices.web.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="true" />
</system.webServer>
</configuration>
这是我尝试过的:
- 安装后发出命令"aspnet_regiis.exe -i"
- 将整个文件夹的完全权限分配给用户 IUSR 和 IIS_IUSRS
- 正在检查 web.config 是否存在语法错误(找到 none)
- 试图篡改 web.config 文件(寻找不可打印的 ascii、编码格式等)
微软一步步记录的如此仔细,
https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
您忘记安装 ASP.NET IIS 核心模块。
有很多关于此消息错误的问题,我尝试了所有建议的解决方案,但 none 个有效
我有一个 ASP .NET 网络应用程序,我将应用程序注册到 IIS,当我访问该页面时出现此错误:
HTTP Error 500.19 internal server error The requested page cannot be accessed because the related configuration data for the page is invalid
错误代码为:0x8007000d
我post我的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=".\ReviewerServices.web.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="true" />
</system.webServer>
</configuration>
这是我尝试过的:
- 安装后发出命令"aspnet_regiis.exe -i"
- 将整个文件夹的完全权限分配给用户 IUSR 和 IIS_IUSRS
- 正在检查 web.config 是否存在语法错误(找到 none)
- 试图篡改 web.config 文件(寻找不可打印的 ascii、编码格式等)
微软一步步记录的如此仔细,
https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
您忘记安装 ASP.NET IIS 核心模块。