Using VS 2010. My Web Service is working fine. But while 'Consuming' from a 'Windows Forms Application', it fails..! Prolem started after I installed VS 2010 SP1. I have uninstalled the VS2010 SP1, VS2010 and VS Web Developer 2010 and Reinstalled all (without
the VS 2010 SP1..!)
This is the following Error Message I get while 'Add Web Reference' --> 'Go' ( Err:
This program cannot display the webpage)
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
Web Services Found at this URL:
There was an error downloading 'http://localhost:1451/Service1.asmx'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:1451
There was an error downloading 'http://localhost:1451/Service1.asmx/$metadata'.
Unable to connect
--- Please help me what is wrong or changes I need to do.
nil68
Member
20 Points
12 Posts
'Consuming' a Web Service from a 'Windows Forms Application' fails..!
Feb 09, 2012 06:59 PM|LINK
Using VS 2010. My Web Service is working fine. But while 'Consuming' from a 'Windows Forms Application', it fails..! Prolem started after I installed VS 2010 SP1. I have uninstalled the VS2010 SP1, VS2010 and VS Web Developer 2010 and Reinstalled all (without the VS 2010 SP1..!)
This is the following Error Message I get while 'Add Web Reference' --> 'Go' ( Err:
This program cannot display the webpage)
Most likely causes:
Web Services Found at this URL:
There was an error downloading 'http://localhost:1451/Service1.asmx'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:1451
There was an error downloading 'http://localhost:1451/Service1.asmx/$metadata'.
Unable to connect
--- Please help me what is wrong or changes I need to do.