I have a page which created using Visual Web Part (for Sharepoint 2010) and later on I am adding to my Sharepoint site. I have a WCF service(very basic) hosted in IIS 7 (same server). When I deployed my page which created in Visual Web Part project, I kept getting the error below.
"Could not find endpont element with the name 'BasicHttpBinding_IService1 and the contract 'ServiceReference.IService1.....etc". What should I do from here on?
(i can consume WCF service from my asp.net page from a different server box perfectly fine.)