在ReportService2005.asmx 找不到 ReportingService2005 类

最近要做SSRS的东西,需要掉SSRS的webservice做一些处理,网上搜了N多的信息都说用到ReportingService2005的类,但是在VS2008里尝试了一下却发现找不到这个类,有一个类似的ReportingService2005SoapClient类似乎提供了非常相似的功能,但是又没有办法指定credential。后来搜到了下面的连接http://www.sqldev.org/sql-server-reporting-services/cannot-find-reportingservice2005-class-with-the-reportservice2005asmx-web-service-18059.shtml, 原来只能把asmx用传统的add web reference的形式添加进来才能看到ReportingService2005这个类。VS2008默认的是添加WCF service,也就是Add Service Reference,但是在高级选项里提供了add web service这一选项。

posted @ 2012-02-03 14:42  zhanqiangz(闲云野鹤)  阅读(446)  评论(0编辑  收藏  举报