我在整理以前同时的一个程序,可是我一提交数据就出现这样的页面,请问应该怎么解决。
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>
解决方案 »
- SqlDataSource 绑定GridView 数据无法获取
- 在bll层中的类如何获取session中的值
- 菜鸟问个问题啊,,不要笑我
- javascript动态创建服务器端控件 如(fileupload)
- 100分悬赏解决怪问题哦:为什么我的页面在访问时会经常出现.net提示错误的黄色页面?刷新一下或者几下就好了!!黄色页面的错误提示内容
- webdiyer请帮我看看,急,请帮忙!
- 高手求救啊 为什么生成静态页的时候会出现这个问题呢
- 请教在使用水晶报表是遇到几个问题。
- Dapper ORM 中SqlMapper的sqlValue怎么写?
- 救急
- datagrid绑定到 oledbdatareader中,如何判断数据行不足一页,如何添加空行?
- 求这样一段代码或算法,c#
<customErrors mode="Off"/>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
让你在web.config中加入上面的东东。
还说已经把你的这个页面做成了默认的出错页面。
照办试试。