首页 新闻 会员 周边 捐助

Vs2005 水晶报表发布在虚拟主机后的问题!

0
悬赏园豆:50 [已关闭问题]
我有一个报表的工程。 发布到虚拟主机上后有的报表页面可以显示,然而有的页面报错(错误信息见下)。 检查路径是对的 <BR><BR>Server Error in '/' Application. <BR>-------------------------------------------------------------------------------- <BR><BR>Runtime Error <BR>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. <BR><BR>Details: To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a "web.config" configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its "mode" attribute set to "Off". <BR><BR><BR>&lt;!-- Web.Config Configuration File --&gt; <BR><BR>&lt;configuration&gt; <BR>&nbsp; &nbsp; &lt;system.web&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;customErrors mode="Off"/&gt; <BR>&nbsp; &nbsp; &lt;/system.web&gt; <BR>&lt;/configuration&gt; <BR><BR><BR>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 &lt;customErrors&gt; configuration tag to point to a custom error page URL. <BR><BR><BR>&lt;!-- Web.Config Configuration File --&gt; <BR><BR>&lt;configuration&gt; <BR>&nbsp; &nbsp; &lt;system.web&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/&gt; <BR>&nbsp; &nbsp; &lt;/system.web&gt; <BR>&lt;/configuration&gt; <BR>
jun.ma的主页 jun.ma | 初学一级 | 园豆:50
提问于:2008-07-14 13:57
< >
分享
其他回答(2)
0
customErrors配置节的mode属性配置为Off看看具体是什么出错信息;或者直接到服务器的事件查看器中看日志中记录的是什么异常。
玉开 | 园豆:8822 (大侠五级) | 2008-07-14 14:17
0
測試一下虛擬目錄能否運行其他aspx程序,不能的話估計是.net沒有注冊到iss
zhenhgtuag | 园豆:165 (初学一级) | 2008-07-27 21:26
0

水晶报表近几年用下来越来越不好用,还不如finereport

ilovejava | 园豆:224 (菜鸟二级) | 2015-01-29 16:40
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册