473,657 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can an ASP.NET application running on WinXP+IIS5 access to SSRS web service?

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.Serv ices.Protocols. SoapException: The permissions granted to user
DEV1\ASPNET' are insufficient for performing this operation. --->
Microsoft.Repor tingServices.Di agnostics.Utili ties.AccessDeni edException: The
permissions granted to user 'ALISGD\ASPNET' are insufficient for performing
this operation.

The user DEV1\ASPNET is member of
"SQLServer2005R eportingService sWebServiceUser $DEV1" local NT groups. Also I
added the user "DEV1\ASPNE T" 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:

reportingServic e.UseDefaultCre dentials = true;

Obviously I can solve the problem by using this code:

System.Net.ICre dentials netCredential = new
System.Net.Netw orkCredential(" Username","Pass word","Domain") ;
reportingServic e.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
Jul 25 '07 #1
4 2798
xp does not have a good solution, as it does not support application
pools. in the web.config in the <impersonatespe cify the domain user
and password. you could change the asp.net service account to a domain
account.

-- bruce (sqlwork.com)

Max2006 wrote:
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.Serv ices.Protocols. SoapException: The permissions granted to user
DEV1\ASPNET' are insufficient for performing this operation. --->
Microsoft.Repor tingServices.Di agnostics.Utili ties.AccessDeni edException: The
permissions granted to user 'ALISGD\ASPNET' are insufficient for performing
this operation.

The user DEV1\ASPNET is member of
"SQLServer2005R eportingService sWebServiceUser $DEV1" local NT groups. Also I
added the user "DEV1\ASPNE T" 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:

reportingServic e.UseDefaultCre dentials = true;

Obviously I can solve the problem by using this code:

System.Net.ICre dentials netCredential = new
System.Net.Netw orkCredential(" Username","Pass word","Domain") ;
reportingServic e.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

Jul 25 '07 #2
Hi Bruce,

So it is not possible to have "ASPNET user on XP consume SSRS web services?

Thank you for help,
Max
"bruce barker" <no****@nospam. comwrote in message
news:Ol******** ******@TK2MSFTN GP03.phx.gbl...
xp does not have a good solution, as it does not support application
pools. in the web.config in the <impersonatespe cify the domain user and
password. you could change the asp.net service account to a domain
account.

-- bruce (sqlwork.com)

Max2006 wrote:
>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.Ser vices.Protocols .SoapException: The permissions granted to
user DEV1\ASPNET' are insufficient for performing this operation. --->
Microsoft.Repo rtingServices.D iagnostics.Util ities.AccessDen iedException:
The permissions granted to user 'ALISGD\ASPNET' are insufficient for
performing this operation.

The user DEV1\ASPNET is member of
"SQLServer2005 ReportingServic esWebServiceUse r$DEV1" local NT groups. Also
I added the user "DEV1\ASPNE T" to browsers and also "System
Administrato r" role within SSRS web portal. still the same problem.

I do have the following code on my web service proxy code:

reportingServi ce.UseDefaultCr edentials = true;

Obviously I can solve the problem by using this code:

System.Net.ICr edentials netCredential = new
System.Net.Net workCredential( "Username","Pas sword","Domain" );
reportingServi ce.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
Jul 25 '07 #3
Hi Max,

What Bruce means is that on XP you have to use impersonation, while on IIS6
and above you can use a domain account for the AppPool.

#Understanding ASP.NET Impersonation Security - Rick Strahl's Web Log
http://west-wind.com/weblog/posts/2153.aspx

Hope this helps.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 26 '07 #4
Hi Max,

I'm writing to check the status of this post. Please feel free to let me
know if there's anything else I can help.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 31 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
305
by: G-Fit | last post by:
Hello group, I have several ASP.NET websites using (so far) a console application (from a collection of parameters, this application builds a PDF file through several professional tools in DOS mode). The websites launch the application when appropriate, and we know where the PDF file will be when the console application is finished (that one also create a log file to state if every step went fine, or what errors happened). Here is what...
2
1484
by: Ingvar Nilsen | last post by:
What I want is to have an ASP.Net web application access another web page (not a web service), get the response content from this, do something with it and send it back to the client. Have looked, haven't found anything resembling a HttpClient (that in this case hardly can be called a client since it will run on the server). It is possible - but how? --
7
8153
by: Rob | last post by:
I am an Access developer and have done many Access databases in the standard Front-end on the workstations, backend on the server (over a LAN) but have never worked with Access over Citrix, though that situation is coming up for me shortly. Question: When you run the front-end on the Server, does Citrix clone the front end application database file for each user that connects or do they all connect to physically the same front-end...
4
6157
by: mvivar | last post by:
Hi everybody: This will be not easy to explain as my mother language is not english, so my apologies in advance if it sounds confusing. We have a database access 97 wich controls time of people in their job in order to finally know how many money costs us to run some projects. People always estimates the time when reporting and we do have the impression they really underestimate the time.
1
2180
by: Robert V. Hanson | last post by:
Please give me some ideas on how to setup the ability to test System.Web.Mail code to send emails using just my development computer, Win2000Pro OS and IIS5.0? Thanks, Bob Hanson
15
1494
by: BK | last post by:
Can someone point me to a code sample that illustrates executing long running tasks (asynchronous) from a web application in ASP.NET? I assume that Web Services might come into play at some point, but I'm not sure how to get started. For example, I have an application that, upon a user initiating through a button or link click, will go out and generate a bunch of files (this could take several minutes). This will happen in batches, so I...
4
1196
by: Vince Varallo | last post by:
Hello, I do not have SQL Server 2005 installed on my computer and will not be able to based on company policy. However I do have SQL Server 2000. I want to create the application service database to store personalization setting for using web parts. BUT, when I try to create the database I get an error and it looks like it is trying to connect to SQL Server 2005. How do I change the aspnet_regsql tool to use SQL Server 2000?
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8509
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.