分享

写回答

发帖

[提问] 求高人指点,谢谢!!

GoDaddy GoDaddy 663 人阅读 | 3 人回复

发表于 2011-5-27 12:48:57 | 显示全部楼层 |阅读模式

我把网站的文件上传到服务器之后打开我的网站时出现如下提示,请高人指点是哪里出错,不胜感激。

错误内容:

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>

[ 本帖最后由 罗裳轻舞 于 2011-5-27 12:50 PM 编辑 ]
未命名1.jpg

回答|共 3 个

罗裳轻舞

发表于 2011-5-27 12:51:29 | 显示全部楼层

坐等高人指点,我是菜鸟不懂这些东西, 纠结
回复 支持 反对

使用道具 举报

罗裳轻舞

发表于 2011-5-27 12:59:57 | 显示全部楼层

高人进来指点下啊,出现这个错误是哪里配置有问题么?
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-5-27 13:44:55 | 显示全部楼层

回复 1# 的帖子

按照错误提示,在web.config加入代码,楼主是安装的什么程序!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则