我在整理以前同时的一个程序,可是我一提交数据就出现这样的页面,请问应该怎么解决。
Server Error in '/v2web' 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>
Server Error in '/v2web' 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>
解决方案 »
- Hashtable 的赋值问题
- 又是时间计算这次是4个时间 夷我为什么说又。。高速结贴
- sql 注入的问题,急,网站被攻击了!
- 请问:dropdownlist的datatextfield怎样绑定或能否多个字段的值?
- 咱也拉票,请投愚翁(Knight94)一票
- asp.net中如何替换tab符号
- 在SQL中怎么写时间变量????
- ExecuteNonQuery requires an open and available Connection.
- 用DataGrid控件如何实现双表头?
- 请问如何在datagrid中隐藏一行
- datagrid绑定到 oledbdatareader中,如何判断数据行不足一页,如何添加空行?
- 求这样一段代码或算法,c#
<customErrors mode="Off"/>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
让你在web.config中加入上面的东东。
还说已经把你的这个页面做成了默认的出错页面。
照办试试。