add web reference - access denied

  • Thread starter Thread starter Steve Richter
  • Start date Start date
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
 
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
 
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
 
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
 
Back
Top