开发者

ListChildren SQL Reporting Service

开发者 https://www.devze.com 2022-12-25 09:59 出处:网络
I\'m trying to get a list of available reports via the webservice for SQL Reporting Services 2005 express edition.Each time I try to call the ListChildren method I get an insuffient permission excepti

I'm trying to get a list of available reports via the webservice for SQL Reporting Services 2005 express edition. Each time I try to call the ListChildren method I get an insuffient permission exception. The code is:

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

I added the ASP.net (iusr) account into the local admin group on the PC and still get the exception.

开发者_Go百科

Is this method supported in the express edition?

Mark


The local admin group is not a part of SQL Server Administrators in SQL 2008 and I believe the same is true for SQL 2005 as well.

You can run the web service under a different domain account that has the priviledges, or in your SQL Reporting Services, add the Computer\ASPNET account as a user.

0

精彩评论

暂无评论...
验证码 换一张
取 消