I am a beginner in web services. I tried to open a new WCF client project in VS 2012. I am working by this tutorial: http://mikesknowledgebase.com/pages/Services/WebServices-Page1.htm#comment-949587244 just after opening a new project I tried to run the debugger and I get this error:
Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata.
Error: Cannot obtain Metadata from htt://localhost:15021/Service1.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
I tried searching the internet for this error but because I am new to this I can't find the resolution to the problem. what am I doing wrong?
EDIT: I tried to open a project with .net Framework 4.0 and it worked fine so the problem is with .net Framework 3.5 but I need to work with 3.5