Click here to Skip to main content
15,906,209 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I Developed Silver Light application with Wcf And Linq to Sql.My Application worked Properly.
In My Wcf Service I did not Implement Any Binding Because It self it is creating default binding.
But Now I am facing Error Like This:
There was an error downloading 'http://localhost:4137/WcfService.svc'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:437
Metadata contains a reference that cannot be resolved: 'http://localhost:4137/WcfService.svc'.
There was no endpoint listening at 'http://localhost:4137/WcfService.svc/WcfService.svc' that could accept the message.This is often caused by an incorrect address or SOAP action.See InnerException,if present,for more details.
Unable to connect remote server
No connection could be made because the target machineactively refused it 127.0.0.1:437

please give me some idea.

Thanks,
vijay
Posted
Comments
Sergey Alexandrovich Kryukov 31-Jan-12 0:52am    
Are you really working on localhost and 126.0.0.1:437? Do you have an HTTP server working on a local host?
--SA

1 solution

this often happens when you debug and stop regularly... check the actual port being used by the debugger and change the WCF service refence config to reflect this as i bet it is out of sync
 
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