Can an ASP.NET application running on WinXP+IIS5 access to SSRS web service?
- From: "Max2006" <alanalan1@xxxxxxxxxxxxxxxx>
- Date: Wed, 25 Jul 2007 14:53:32 -0400
Hi,
I am developing a web application on windows XP. A page within my
application needs to access to SSRS running on the same machine. Once the
web application tries to consume the SSRS web services, I receive the
following error:
System.Web.Services.Protocols.SoapException: The permissions granted to user
DEV1\ASPNET' are insufficient for performing this operation. --->
Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The
permissions granted to user 'ALISGD\ASPNET' are insufficient for performing
this operation.
The user DEV1\ASPNET is member of
"SQLServer2005ReportingServicesWebServiceUser$DEV1" local NT groups. Also I
added the user "DEV1\ASPNET" to browsers and also "System Administrator"
role within SSRS web portal. still the same problem.
I do have the following code on my web service proxy code:
reportingService.UseDefaultCredentials = true;
Obviously I can solve the problem by using this code:
System.Net.ICredentials netCredential = new
System.Net.NetworkCredential("Username","Password","Domain");
reportingService.Credentials = netCredential;
But I like to find the root of the problem and solve it properly.
Is there any way that a web application running on IIS5+XP as user "ASPNET'
access to SSRS web service?
Any help would be appreciated,
Max
.
- Follow-Ups:
- Prev by Date: Re: Custom Membership and Roles
- Next by Date: GridView - Retrieve invisible column information
- Previous by thread: Httphandler for images - displays properly but unable to print
- Next by thread: Re: Can an ASP.NET application running on WinXP+IIS5 access to SSRS web service?
- Index(es):