Click here to Skip to main content
15,897,718 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have a web service in asp.net ie, .asmx file.

I have a site "www.demoweservices.com".

When I accessed the webservice through the url "www.demowebservices.com/Service.asmx" it works fine.

But When I add this service in a asp.net site by "Add WebReference" I got an error


CSS
There was an error downloading 'http://www.demowebservices.com/Service.asmx'.
The request failed with HTTP status 403: Forbidden.
There was an error downloading 'http://www.demowebservices.com/Service.asmx/$metadata'.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900