当前位置:编程学习 > C#/ASP.NET >>

求助帖---大虾们求助

刚配置的一网站


错误摘要HTTP 错误 500.19 - Internal Server Error
web.config 文件的 system.webServer/httpErrors 节中不允许绝对物理路径“C:\inetpub\custerr”。请改用相对路径。


 详细错误信息模块 CustomErrorModule 
通知 SendResponse 
处理程序 ASPClassic 
错误代码 0x8007000d 
请求的 URL http://localhost:80/showdetial.asp 
物理路径 F:\web\showdetial.asp 
登录方法 匿名 
登录用户 匿名 
--------------------编程问答-------------------- 错误说是你用了绝对路径,你把绝对改成相对路径试试 --------------------编程问答-------------------- <?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <directoryBrowse enabled="true" />
        <httpErrors>
            <remove statusCode="500" subStatusCode="-1" />
            <error statusCode="500" prefixLanguageFilePath="%SystemDrive%\inetpub\custerr" path="500-100.asp" responseMode="File" />
        </httpErrors>
        <defaultDocument>
            <files>
                <add value="index.asp" />
            </files>
        </defaultDocument>
    </system.webServer>
    <system.web>
        <authentication mode="Windows" />
        <identity impersonate="false" />
    </system.web>
</configuration>
系统说的是这个吧,该怎么改呢?我刚开始做这网站时还没出现这个问题的,现在都显示不了,是不是iis里面的设置有问题呢?
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,