如何修复500.19 - 内部服务器错误,错误代码为0x8007000d

问题描述 投票:0回答:1

我在IIS中配置了.Net应用程序,同时启动应用程序我收到错误“500.19-内部服务器错误无法访问请求的页面,因为页面的相关配置数据无效。”错误代码0x8007000d。这是我的web.config文件

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
        <aspNetCore>
            <environmentVariables>
                <clear />
                <environmentVariable name="ASPNETCORE_ENVIRONMENT" 
    value="Development" />
            </environmentVariables>
        </aspNetCore>
       </system.webServer>
    </configuration>

我已经安装了所有先决条件安装了.Net framework 4.5.1安装了URL重写尝试了iis_iusrs权限安装了web主机包

你能帮我解决这个错误吗?我被困在这里

iis-8
1个回答
0
投票

删除XML声明(第一行)前面的空格,然后重试。如果这不起作用,请务必发布错误消息的所有相关详细信息。您的错误页面可能会准确地告诉您错误的行。

© www.soinside.com 2019 - 2024. All rights reserved.