我用vs2005开发的一个asp.net 2.0程序,在本机调整无问题,用“发布网站”后,把它放到.net2.0的服务器中就出现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>
如何检查错误???
--------------------------------------------------------------------------------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>
如何检查错误???
解决方案 »
- gridview中绑定数据,显示不全
- asp.net ,我改一一个静态类的方法,本地测试是可以的,放到IIS上,结果一样,没有改动,为什么? 急,请高手帮忙!
- label标签的值在javaScript中应该怎样表达?
- GridView 如何实现横向数据排行
- 求助集成windows身份验证 登录框问题
- 急征各地(兼职)网页设计作品?
- 日访问量统计 Global.asax运行不起来
- 很简单的问题~请高手看一看~~关于安装例子的问题~
- 搜索字符串数量的问题
- 正则请教,请问<a[\s\S]*?{article_title}[\s\S]*?</a>不能包括<或>要怎么弄?
- 自定义Web控件如何居中
- apache 运行 aps.net
<customErrors mode="Off"/>