2010-03-31 68 views
2

我試圖通過SQL Server Reporting Services 2005快速版的webservice獲取可用報告的列表。每次我嘗試調用ListChildren方法時,我都會遇到不足的權限異常。該代碼是:ListChildren SQL Reporting Service

ReportingService2005SoapClient rService = new ReportingService2005SoapClient(); CatalogItem[] cItems = null; rService.ListChildren("/", false, out cItems);

我加入了ASP.net(IUSR)的帳號到本地管理員組的PC機上,仍然可以得到例外。

快速版本支持此方法嗎?

馬克

+0

對於像我這樣想知道ReportingService2005SoapClient定義在哪裏的人,您必須在VS中引用您的ASMX服務。 – user2173353 2015-06-04 08:14:13

回答

0

本地管理員組不是SQL服務器的管理員在SQL 2008的一部分,我相信同樣是2005年的SQL也是如此。

您可以在具有特權的其他域帳戶下或在SQL Reporting Services中以用戶身份添加Computer\ASPNET帳戶來運行Web服務。

相關問題