add web reference - access denied

S

Steve Richter

from a desktop app, I want to add a web reference to the HelloWorld
web service I just created on my local system. problem is, when I
click add web reference and navigate to my web service:
c:\src#\WebSite3\WebService.asmx

I get errors listed in the right side panel: "there was an error
downloading c:\src#\website3 Access to the path c:\src#\website3 is
denied.

How do I enable access? I am trying to consume the web service using
the same user account which created it.

thanks,

-Steve
 
O

Otavio Decio

The account that created it does not necessarily is the one trying to run
it. You need to give the c:\src3\website3 directory the same rights as
inetpub\wwwroot so that the asp.net user can access it. Use Filemon before
you get it fixed, you may learn something.

Otavio
 
S

Steve Richter

The account that created it does not necessarily is the one trying to run
it. You need to give the c:\src3\website3 directory the same rights as
inetpub\wwwroot so that the asp.net user can access it. Use Filemon before
you get it fixed, you may learn something.

thanks.

I forgot I had to use IIS manager to map a virtual directory to the
website directory. Then I had to "add application" to do whatever that
does.

-Steve
 
O

Otavio Decio

Still, check permissions.

Good luck

Otavio

Steve Richter said:
thanks.

I forgot I had to use IIS manager to map a virtual directory to the
website directory. Then I had to "add application" to do whatever that
does.

-Steve
 
Joined
Dec 15, 2009
Messages
7
Reaction score
0
If your web service anonymous authentication is


turned off you must enable that

Otherwise you have to pass username and password
 

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,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top