HTTP错误500.19 - 内部服务器错误IIS 8.5

时间:2017-11-01 06:24:24

标签: asp.net windows iis internal-server-error iis-8.5

我尝试在IIS 8.5上运行网站,但它说:

HTTP错误500.19 - 内部服务器错误

无法访问请求的页面,因为页面的相关配置数据无效。

配置错误 - 由于权限不足而无法读取配置文件

我正在尝试更多类似于Web.Config - Cannot read configuration file due to insufficient permissions的解决方案。

但它没有解决。

注意:使用IIS8.5

这里附上了我的异常图片。

enter image description here

我的web.config文件,

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpErrors>
            <remove statusCode="502" subStatusCode="-1" />
            <remove statusCode="501" subStatusCode="-1" />
            <remove statusCode="500" subStatusCode="-1" />
            <remove statusCode="412" subStatusCode="-1" />
            <remove statusCode="406" subStatusCode="-1" />
            <remove statusCode="405" subStatusCode="-1" />
            <remove statusCode="404" subStatusCode="-1" />
            <remove statusCode="403" subStatusCode="-1" />
            <remove statusCode="401" subStatusCode="-1" />
            <error statusCode="400" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\bad_request.html" />
            <error statusCode="407" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\proxy_authentication_required.html" />
            <error statusCode="414" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\request-uri_too_long.html" />
            <error statusCode="415" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\unsupported_media_type.html" />
            <error statusCode="503" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\maintenance.html" />
            <error statusCode="401" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\unauthorized.html" />
            <error statusCode="403" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\forbidden.html" />
            <error statusCode="404" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\not_found.html" />
            <error statusCode="405" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\method_not_allowed.html" />
            <error statusCode="406" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\not_acceptable.html" />
            <error statusCode="412" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\precondition_failed.html" />
            <error statusCode="500" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\internal_server_error.html" />
            <error statusCode="501" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\not_implemented.html" />
            <error statusCode="502" prefixLanguageFilePath="" path="C:\Inetpub\vhosts\spiralup.rapidns.com\error_docs\bad_gateway.html" />
        </httpErrors>
    </system.webServer>
</configuration>

如何解决该问题

请告诉我..

0 个答案:

没有答案
相关问题