Results 1 to 6 of 6

Thread: [RESOLVED] [2005] Error adding Web reference

  1. #1

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Resolved [RESOLVED] [2005] Error adding Web reference

    I just created a web service and it works fine. Then I created a windows app that will consume this web service.

    When I go to the "Add Web Reference" and click the "Web Services on the local Machine" it brings up my Service and the URL. When I click on the service it gives me an error like this:

    There was an error downloading 'http://localhost/WebSites/VecellioWebservices/Service.asmx'.

    The request failed with HTTP status 403: Access Forbidden.


    See attachment.

    Can anyone help??????
    Attached Files Attached Files
    Last edited by snufse; Feb 16th, 2007 at 03:21 PM.

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    Re: [2005] Error adding Web reference

    I'm not sure if this is the case, but do you have IIS? Don't you need IIS to make web services work even if it's local?

  3. #3

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Re: [2005] Error adding Web reference

    Yes, I have IIS installed and running. See attachment
    Attached Files Attached Files

  4. #4
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    Re: [2005] Error adding Web reference

    Ok, is your web service using other external resouces like a database file or some other type of file or folder? It's possible it doesn't have the proper access permission. You may need to go to properties(of the other external resources) and make proper changes.

  5. #5

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Re: [2005] Error adding Web reference

    Yes, the web service is using a data base file. When I test the web service by itself I works perfect. Could this has something to do with a proxy set up and a possible conflict??
    Last edited by snufse; Feb 19th, 2007 at 09:29 AM.

  6. #6

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Thumbs up Re: [2005] Error adding Web reference

    After some research, I think I solved the problem (at least I am able to add the web service as a reference)

    Message: HTTP 403 Forbidden: Execute Access Forbidden deals with some kind of authority. Here is what I did:

    1. Go into Internet Information Services
    2. Select property Web Sites
    3. Under "Execute Permissions" set value to "Scripts and Exceuteables".

    (Do not need to re-boot). Then I was able to select my web service and attach it to my windows app....... also see attached screen shots.....
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width