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>
该问题怎么解决???
--------------------------------------------------------------------------------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>
该问题怎么解决???
解决方案 »
- ASPX页面写IF语句怎么写(IF判断)
- 最近做了一个ajax站点,大家来评分
- js读取xml
- 求助!!DataGrid模版列问题~~~~~~在线等
- 使用WebHtmlEditor有时提示这样的信息是为什么?
- 发送邮件的问题,用asp.net自带的发送邮件的程序是否稳定,是否能一定准确发送成功.我的程序对邮件发送成功要求高一些,应该怎么来实现
- 用ASP.NET联接SQL Server相关的问题(在线等)
- 急!为什么我的asp.net连接oracle8.1.7提示:invalid character
- asp.net三层架构中缓存层如何搭建,求大神指教~!
- 带checkbox的TreeView中的bug
- SQL2005 去掉讨厌"dbo."
- 如何控制TextBox的高度
<system.web>
<customErrors mode="On"/>
</system.web>
</configuration>
改成On,看看出了什么错误系统发布后要改成
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="友好的错误提示页面.html"/>
</system.web>