asp.net 做的一个简单的报名系统,今天突遇这个问题,请高手解答!

来源:百度知道 编辑:UC知道 时间:2024/05/30 17:44:59
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

程序方面有错误 如果以前调试没有问题 一般是数据库的问题吧

比如输出的内容 在查询中没有 超出的查询结果

你要先关掉 自定义异常信息,看哪里导致这个错误,把详细错误信息贴上来看看