When I am trying to add service refrence I am getting the following error:
There was an error downloading 'http://localhost:50639/Service1/Service.svc'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:50639
Metadata contains a reference that cannot be resolved: 'http://localhost:50639/Service1/Service.svc'.
Could not connect to http://localhost:50639/Service1/Service.svc. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:50639.
I am new to WCF, even I have never worked on web service. I am using "http://www.c-sharpcorner.com/UploadFile/prathore/711/Default.aspx" link to make my 1st sample program. Please help me to get rid of this error.
Thanks in advance