Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   add web reference - access denied (http://www.velocityreviews.com/forums/t519206-add-web-reference-access-denied.html)

Steve Richter 07-02-2007 10:29 PM

add web reference - access denied
 
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


Otavio Decio 07-03-2007 01:29 AM

Re: add web reference - access denied
 
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


"Steve Richter" <StephenRichter@gmail.com> wrote in message
news:1183415367.361324.176880@57g2000hsv.googlegro ups.com...
> 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
>




Steve Richter 07-03-2007 01:55 AM

Re: add web reference - access denied
 
On Jul 2, 9:29 pm, "Otavio Decio" <ocde...@gmail.com> wrote:
> 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




Otavio Decio 07-03-2007 02:19 AM

Re: add web reference - access denied
 
Still, check permissions.

Good luck

Otavio

"Steve Richter" <StephenRichter@gmail.com> wrote in message
news:1183427742.180117.238310@n60g2000hse.googlegr oups.com...
> On Jul 2, 9:29 pm, "Otavio Decio" <ocde...@gmail.com> wrote:
>> 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
>
>
>




shijobaby 02-06-2010 08:27 AM

If your web service anonymous authentication is


turned off you must enable that

Otherwise you have to pass username and password


All times are GMT. The time now is 09:53 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.