我的申请错误:
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>
管理员查看页应设返回按钮。。
不过值得肯定的是,效果不错。
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>
管理员查看页应设返回按钮。。
不过值得肯定的是,效果不错。
解决方案 »
- 急!!在.net(vb)如何实现禁止某个ip段访问网站的指定的某篇文章
- MVC中多个提交的问题
- 当提交数据时候出错时,如何输出自定义的错误提示?
- 如果搜索一个字符串里是否有“A”的存在?
- asp项目的架构大家一般都是怎么设计和考虑的呢。
- 水晶报表和sybase数据库连接的问题
- 请问那里可以下载SQL 2005 和 vs.net 2005?
- F5刷新页面是不是执行pageload过程啊
- 如何获取一张表的所有列名?
- 在asp.net中使用<%@ Import NameSpace="System.Data.SQL" %>时...
- 投诉:“weilin0378接分”
- IIs服务管理器打开出现连接l_c(即我的计算机名)出错,系统找不到指定路径,你想将来继续尝试此连接吗?是怎么回事,谢谢!!!
楼主好人!!!!!