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>
如何解决?
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>
如何解决?
解决方案 »
- 关于TreeView问题
- 进制转换
- 【online】定义变量时,都定义成 var 格式,好还是不好啊?
- 菜鸟问一个问题。。。aspx页面怎么转到一般处理程序ashx,然后从中得到response.write的东西?
- 高手指教:Silverlight 如何获得页面里的dataset(datatable)?
- 作为asp.net刚学完的人,要提升asp.net工作能力。应急于提升的是哪些技术?
- 在firefox中如何让div自动换行
- 为什么访问网页 提示要输入网页密码?
- 数据导入导出
- 请各位高手指点,如何为DataGrid中的内容加超级连接,导向到另一个页面
- 关于ASP.NET网站管理工具的使用(webadmin.axd)
- 在AD中新建用户正常,但同时利用CDOEXM创建Exchange2003用户邮箱出错
那个defaultRedirect是默认指向你程序在运行时出现的错误,这主要是让出错时不至于出现我们写程序时出现的”黄白页“,改成OFF吗,那不就是不开启自定义错误吗