页面跳转 Server Error in '/' Application. --Runtime Error 错误
各位高手们:我在做网站时,遇到一个非常严重的问题:
如标题:不管我的页面跳转到哪个页面,用什么方式跳转,它都出现这个错误:
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>
我在本地测试时,没有任何错误,上传到服务器中,就会出现这个错误,而且每次都是一定出错,不是偶尔出现。
在服务器上面也捕获不到任何的错误。就直接蹦出这个错误。
希望高手们能不吝赐教。谢谢!!!