Discussion:
permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are ins
(too old to reply)
Bryan Avery
2005-06-15 08:41:05 UTC
Permalink
I am trying to read the WebServices to gather information about the catalog.

When I run the application from my development box and reading from the
Reporting Services server for the Catalog all run fine.

But when I transfer the application (asp.net) to the server it fails with:

System.Web.Services.Protocols.SoapException: The permissions granted to user
'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this
operation. --->
Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The
permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient
for performing this operation. at
Microsoft.ReportingServices.Library.RSService.ListChildren(String item,
Boolean recursive) at
Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
Item, Boolean Recursive, CatalogItem[]& CatalogItems) --- End of inner
exception stack trace --- at
Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
Item, Boolean Recursive, CatalogItem[]& CatalogItems)

The code is quite simple:

VB.NET

Dim rService As ReportingService = New ReportingService
rService.Credentials =
System.Net.CredentialCache.DefaultCredentials
Dim catalogItems As CatalogItem()
catalogItems = rService.ListChildren(Global.ReportPath, True)

C#.NET

ReportingService rService = new ReportingService();
rService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
CatalogItem[][0] catalogItems;
catalogItems = rService.ListChildren(Global.ReportPath, true);
--
Regards

<<<Bryan Avery>>>
Bryan Avery
2005-06-17 13:40:16 UTC
Permalink
Found the problem to be with web.config file.

Adding the following line under
<authentication mode="Windows" />


<identity impersonate="true" />

And it all springs in to life
--
Regards

<<<Bryan Avery>>>
Post by Bryan Avery
I am trying to read the WebServices to gather information about the catalog.
When I run the application from my development box and reading from the
Reporting Services server for the Catalog all run fine.
System.Web.Services.Protocols.SoapException: The permissions granted to user
'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this
operation. --->
Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The
permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient
for performing this operation. at
Microsoft.ReportingServices.Library.RSService.ListChildren(String item,
Boolean recursive) at
Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
Item, Boolean Recursive, CatalogItem[]& CatalogItems) --- End of inner
exception stack trace --- at
Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
Item, Boolean Recursive, CatalogItem[]& CatalogItems)
VB.NET
Dim rService As ReportingService = New ReportingService
rService.Credentials =
System.Net.CredentialCache.DefaultCredentials
Dim catalogItems As CatalogItem()
catalogItems = rService.ListChildren(Global.ReportPath, True)
C#.NET
ReportingService rService = new ReportingService();
rService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
CatalogItem[][0] catalogItems;
catalogItems = rService.ListChildren(Global.ReportPath, true);
--
Regards
<<<Bryan Avery>>>
a***@qburst.com
2014-09-11 12:43:52 UTC
Permalink
Thanks! This solution saved us
Post by Bryan Avery
Found the problem to be with web.config file.
Adding the following line under
<authentication mode="Windows" />
<identity impersonate="true" />
And it all springs in to life
--
Regards
<<<Bryan Avery>>>
Post by Bryan Avery
I am trying to read the WebServices to gather information about the catalog.
When I run the application from my development box and reading from the
Reporting Services server for the Catalog all run fine.
System.Web.Services.Protocols.SoapException: The permissions granted to user
'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this
operation. --->
Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The
permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient
for performing this operation. at
Microsoft.ReportingServices.Library.RSService.ListChildren(String item,
Boolean recursive) at
Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
Item, Boolean Recursive, CatalogItem[]& CatalogItems) --- End of inner
exception stack trace --- at
Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
Item, Boolean Recursive, CatalogItem[]& CatalogItems)
VB.NET
Dim rService As ReportingService = New ReportingService
rService.Credentials =
System.Net.CredentialCache.DefaultCredentials
Dim catalogItems As CatalogItem()
catalogItems = rService.ListChildren(Global.ReportPath, True)
C#.NET
ReportingService rService = new ReportingService();
rService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
CatalogItem[][0] catalogItems;
catalogItems = rService.ListChildren(Global.ReportPath, true);
--
Regards
<<<Bryan Avery>>>
Sal
2010-09-03 12:54:04 UTC
Permalink
You can also set this in IIS, go to the website properties, ASP.NET Tab, click edit configuration.
On the Authentication Tab, click windows, and the application tab click local impersination and enter a windows account user name / password.

You must also give this user Permissions on the http://SERVER/reports Security Properties. Set up a new role assignment for this user with browser access

From http://www.developmentnow.com/g/115_2005_6_0_0_542947/permissions-granted-to-user-NT-AUTHORITYNETWORK-SERVICE-are-ins.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com/g/
Continue reading on narkive:
Loading...