I get the dreaded:
Unable to automatically step into the server. The remote procedure could not be debugged.This usually indicates that debugging has not been enable
First of all, I have this problem in Visual Studio 2015.
If you add a breakpoint on the line that calls WCF Service and press F11 in debug time to go into the WCF code, be aware you MUST add a breakpoint on the first line of WCF Service you are calling.
I have just had the same problem. In order to be able to debug a WCF service, you should add the <compilation debug="true">
line in the server's config file inside the <system.web>
section.
For more details, please check the link: http://msdn.microsoft.com/en-us/library/bb157687.aspx
I had the same issue. When i checked, my service project was built using .NET Framework 4.5 where was client project was on .NET Framework 4.0
I changed the project properties of service project to have .NET Framework 4.0 and it worked.
<pre>
Add the below in your server config file
(i) Add below in app.config, if you are hosting your WCF service on windows service.
<system.web>
...
...
...
<compilation debug="true" />
</system.web>
(ii) Add below in web.config, if you are hosting your WCF service on IIS.
<system.web>
...
...
...
<compilation debug="true" />
</system.web>
</pre>
Just found a possible resolution. Repair installation as described in this article http://msdn.microsoft.com/en-us/library/bb157687.aspx. (re)installing the VS SP1 will do the trick too.