【发布时间】:2010-03-31 12:00:21
【问题描述】:
我正在尝试通过 SQL Reporting Services 2005 速成版的 Web 服务获取可用报告的列表。每次我尝试调用 ListChildren 方法时,都会出现权限不足异常。代码是:
ReportingService2005SoapClient rService = new ReportingService2005SoapClient();
CatalogItem[] cItems = null;
rService.ListChildren("/", false, out cItems);
我将 ASP.net (iusr) 帐户添加到 PC 上的本地管理员组中,但仍然出现异常。
快递版是否支持这种方法?
标记
【问题讨论】:
-
对于像我这样想知道 ReportingService2005SoapClient 定义在哪里的人,您必须在 VS 中引用您的 ASMX 服务。
标签: c# asp.net reporting-services