日期:2014-05-17  浏览次数:20434 次

asp.net 网页 runtime error
我的程序本地运行正常,但是放到服务器以后,能正常登陆一个页面,但是在该页面上向服务器调提交数据时出现 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. 
后面大家都懂得,网上有的说法是IIS中.net 配置错误,但是如果是此错误的话,登陆的时候就会出错吧,可我能正常登陆到网页。。。。。(我用的vs2010 .net framwork 4.0),高手帮我分析分析,谢谢

------解决方案--------------------
你看到的错误,不是详细的
web.config里这个改下<customErrors mode="Off">
之后根据具体的错误堆栈信息,修复。