1 Attachment(s)
[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??????
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?
1 Attachment(s)
Re: [2005] Error adding Web reference
Yes, I have IIS installed and running. See attachment
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.
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??
1 Attachment(s)
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.....