| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付学习型 ASP/PHP/ASP.NET 主机 30元/年
高端软件开发 = 年薪十万不是梦赛孚耐:软件保护加密专家身份认证令牌USB KEY 
共有 300 人关注过本帖
标题:求助!大家看一下这是什么错误啊!
收藏  订阅  推荐  打印 
ksni56z
Rank: 2
等级:注册会员
帖子:63
积分:804
注册:2008-5-31
求助!大家看一下这是什么错误啊!

网站刚上传上去不久 就出现这样的错误 是服务器原音 还是网页本身的问题啊
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>


[ 本帖最后由 ksni56z 于 2008-8-20 15:12 编辑 ]
搜索更多相关主题的帖子: tag  
2008-8-20 15:09
仰望星空
Rank: 12Rank: 12Rank: 12
等级:版主
威望:6
帖子:352
积分:3707
注册:2007-2-11

这是程序部署时的原因,调整方式主要是看IIS的配置是否正确,以及调整一下web.config文件的配置

当人们仰望天空的时候,才有了翱翔的愿望;当人们仰望星空的时候,才有了远航的渴望。
2008-8-20 22:18
仰望星空
Rank: 12Rank: 12Rank: 12
等级:版主
威望:6
帖子:352
积分:3707
注册:2007-2-11

<customErrors mode="Off"/>
改成
<customErrors mode="On"/>
试试

当人们仰望天空的时候,才有了翱翔的愿望;当人们仰望星空的时候,才有了远航的渴望。
2008-8-20 22:18
djx520
Rank: 1
等级:新手上路
威望:1
帖子:38
积分:480
注册:2007-4-2

是服务器的问题,IIS配置,你叫他们的网管解决,这中问题很正常
2008-8-25 14:55
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.047760 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved