WCF Error Failed to update Service Reference 'WCFService.Reference' There was an error downloading

on Oct 13, 2014 01:10 AM

Error1Failed to update Service Reference 'SecurityWCFService.Reference'.Error:There was an error downloading 'http://localhost/SecServiceSite/Service.svc'.The request failed with HTTP status 404: Not Found.Metadata contains a reference that cannot be resolved: 'http://localhost/SecServiceSite/Service.svc'.There was no endpoint listening at http://localhost/SecServiceSite/Service.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.The remote server returned an error: (404) Not Found.(0x80131509)file:///D:/Ram/rajesh/New Folder (2)/Intranet/myAsmara/App_WebReferences/SecurityWCFService/Reference.svcmapD:\...\myAsmara\

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Oct 13, 2014 01:13 AM

You need to check the port number. Please refer this article and see the webconfig file.

Bind GridView using data from WCF Service in ASP.Net

    <endpoint address="http://localhost:16677/CS/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="ServiceReference.IService" name="BasicHttpBinding_IService"/>