Debug Web Service on WindowsXP Pro with User Right

M

Mercury21

Hi there

I am having trouble using Visual Studio.NET 2002 on WindowsXP
When I created a WebService as "http://localhost/WevService1/" and start build it, VS.NET gave me an error such as
"Error while trying to run project: Unable to start debugging on the Web server. Access is denied
Would you like to disable future attempts to debug ASP.NET pages for this project?

I also checked an article that "http://support.microsoft.com/default.aspx?scid=kb;EN-US;821255", but I am using WindowsXP Pro, not Windows2000

It said the user account which using VS.NET needs "Impersonate a client after authentication" right, but WindowsXP does not have that kind of user right

I guess the user account needs some specific right to debug the web service other than that

Please somebody help me
 
J

Jan Tielens

Could you check also:

1) You have enabled Windows Integrated Security for your website or virtual
directory.

2) Does your service run ok? I mean is it just a debugging problem?

--
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan

Mercury21 said:
Hi there,

I am having trouble using Visual Studio.NET 2002 on WindowsXP.
When I created a WebService as "http://localhost/WevService1/" and start
build it, VS.NET gave me an error such as;
"Error while trying to run project: Unable to start debugging on the Web server. Access is denied.
Would you like to disable future attempts to debug ASP.NET pages for this project?"

I also checked an article that
"http://support.microsoft.com/default.aspx?scid=kb;EN-US;821255", but I am
using WindowsXP Pro, not Windows2000.
It said the user account which using VS.NET needs "Impersonate a client
after authentication" right, but WindowsXP does not have that kind of user
right.
 
J

Jan Tielens

I think you need administrator rights to debug web projects (should be fixed
in next version of vs.net).

--
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan

Mercury21 said:
Thank you for your reply!

Yes, the service is running correctly and I can use the Web Service for my other project.
It seems only debugging issue.
I also checked the Virtual Directory Security Setting; it is already set
as Windows Integration Security.
 
M

Mercury21

Thank you Jan

I think so, too
Actually, other MS sites or some other web has "Working on VS.NET with users other than Administrator", but those are all for Windows2000, not for XP
In fact, for the debug user, it needs to have "Impersonate a client after authentication" right in order to debug

I will use VS.NET as user mode without debugging use; when I need to debug ASP.NET, I will use the VS.NET as an administrator logon

Thank you very much anyway; if I found any info., I will report here

Mercury2
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top