In code behind,
I wrote
BasicHttpBinding binding = new BasicHttpBinding();
//WSHttpBinding binding = new WSHttpBinding();
//Specify the address to be used for the client.
EndpointAddress address = new EndpointAddress("http://abc.abc.com/googlepasswordservice/googleadservice.svc");
serv = new GoogleAdServiceClient(binding, address);
BalamuruganPosted Oct 6, 2014, 6:35 AM
pooja joshiPosted May 22, 2013, 6:23 AM
I solved this error.
Changed on webconfig of webservice
and Changed on webconfig of website
contract="ServiceReference.IService" name="BasicHttpBinding_IService" />
Note that "my_service" in service and website
no need to above code
BasicHttpBinding binding = new BasicHttpBinding();
write only
serv = new GoogleAdServiceClient();
Jignesh TrivediPosted May 20, 2013, 4:01 AM
Please refer below link it might help you to resolve the issue.
http://go4answers.webhost4life.com/Example/systemservicemodelendpointnotfoundexce-122885.aspx
http://www.datazx.cn/Fv7p5a/6s/n94/2q7xs6/db9bs66i-jmt4-fgdx-bx86-iss8cgjs44rc23rsdfd.html
pooja joshiPosted May 20, 2013, 1:51 AM
pooja joshiPosted May 20, 2013, 1:41 AM
I have checked, there is no any address or url problem.
Still it show same error.
Jignesh TrivediPosted May 20, 2013, 1:28 AM
hi,
it seems that there is problem with address which you are trying to connect the WCF service or your request is not reach to remove server.
please check endpoint address url is same as actual address.
hope this will help you.