Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

add web reference - access denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Richter - 02 Jul 2007 23:29 GMT
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 - 03 Jul 2007 02:19 GMT
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

> 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
[quoted text clipped - 11 lines]
>
> -Steve
Steve Richter - 03 Jul 2007 02:55 GMT
> 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 - 03 Jul 2007 03:12 GMT
Still, check permissions.

Good luck

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
[quoted text clipped - 9 lines]
>
> -Steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.