首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

急Winform调用Reporting Services报表出错!哪位大哥帮忙看看?感激不尽解决办法

2012-02-03 
急!!!Winform调用Reporting Services报表出错!?哪位大哥帮忙看看?感激不尽在IE中使用http://ServerIP/Repo

急!!!Winform调用Reporting Services报表出错!?哪位大哥帮忙看看?感激不尽
在IE中使用http://ServerIP/Reports可以打开报表生成器,也可以正确的访问到报表,但是通过winform程序调用就是不行,原来这些报表部署在另一台报表服务器上是可以的(同样的网络环境),所以个人认为代码出问题的机会不大,不过还是贴上代码如下:
this.reportViewer1.ServerReport.ReportPath   =   "/WCManageReports/ReportOutCheckRecord ";
                        this.reportViewer1.ServerReport.ReportServerUrl   =   new   Uri( "http:// "   +   Common.GetReportingServicesIP()   +   "/reportserver ");
                        ReportParameter   p   =   new   ReportParameter( "paraIDs ",   this.CopyNoteDataIDs);
                        this.reportViewer1.ServerReport.SetParameters(new   ReportParameter[]   {   p   });
                        this.reportViewer1.RefreshReport();

是不是因为报表服务器的配置不一样导致的?导致这个问题的关键在.......请赐教,感激不尽!年前必须搞定,急啊急!分不够可以再加!

[解决办法]
请贴出错误信息。还有你的RS是集成认证还是FORM方式的?

热点排行