【问题标题】:Error 500.19 Internal server error on IISIIS 上的错误 500.19 内部服务器错误
【发布时间】:2017-08-07 19:51:24
【问题描述】:

关于这个消息错误有很多问题,我尝试了所有建议的解决方案,但没有一个奏效

我有一个 ASP .NET webapp,我将应用程序注册到 IIS,当我访问该页面时出现此错误:

HTTP Error 500.19 internal server error 请求的页面不能被 访问,因为该页面的相关配置数据是 无效

错误代码为: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=".\ReviewerServices.web.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="true" />
  </system.webServer>
</configuration>

这是我尝试过的:

  • 安装后发出命令“aspnet_regiis.exe -i”
  • 将整个文件夹的完全权限分配给用户 IUSR 和 IIS_IUSRS
  • 检查 web.config 是否有语法错误(未找到)
  • 试图捏造一点 web.config 文件(寻找不可打印的 ascii、编码格式等)

【问题讨论】:

    标签: asp.net asp.net-mvc iis iis-7.5 http-status-code-500


    【解决方案1】:

    它是由微软一步一步仔细记录的,

    https://docs.microsoft.com/en-us/aspnet/core/publishing/iis

    您忘记为 IIS 安装 ASP.NET Core 模块。

    【讨论】:

      猜你喜欢
      • 2018-04-05
      • 2015-09-20
      • 1970-01-01
      • 1970-01-01
      • 2014-05-06
      • 2016-12-30
      • 2020-08-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多