注册 登录
编程论坛 ASP.NET技术论坛

高手们。我的网站出了一个问题,请大侠们帮我解决一下。谢谢了

wxh028 发布于 2012-02-16 21:32, 625 次点击
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 


大家帮我解决一下。我是个不懂的人。所有的东西我都是在网上学的。谢谢你们了。也可以加我的QQ:71077150   
只有本站会员才能查看附件,请 登录

5 回复
#2
wxh0282012-02-16 22:08
怎么没有人说话啊
#3
dibinbin80232012-02-17 12:22
我English不怎么好,看图应该是权限不够或者路径不对
#4
yms1232012-02-17 19:51
找到网站根目录下的web.config,将禁止调试的下面这个配置项改为Off(没有这个项目就在web.config里手动添加)
<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
#5
wxh0282012-02-18 15:29
回复 3楼 dibinbin8023
我添加过了。没有用。我的网站域名是:www.   你打开看一下。。
#6
qqxiao20122012-02-18 23:08
zzz
1