[已解决问题] Vs2005 水晶报表发布在虚拟主机后的问题!
提问时间: 2008-07-14 13:57
悬赏分:50 浏览:156 次
我有一个报表的工程。 发布到虚拟主机上后有的报表页面可以显示,然而有的页面报错(错误信息见下)。 检查路径是对的

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>
提问者:jun.ma - 初学一级
所有回答(2)
customErrors配置节的mode属性配置为Off看看具体是什么出错信息;或者直接到服务器的事件查看器中看日志中记录的是什么异常。
1个月前   回答者:玉开 - 大侠五级
測試一下虛擬目錄能否運行其他aspx程序,不能的話估計是.net沒有注冊到iss
1个月前   回答者:he-zhenhua - 初学一级
评论
1个月前   jun.ma :
设置了还是同样问题
   您需要登录以后才能回答!
 

我要提问

我的问题


快到期问题

> 问题排行榜

相关链接