Visual Studio 2010 randomly unable to debug WCF service.

Posted by rossisdead on Stack Overflow See other posts from Stack Overflow or by rossisdead
Published on 2010-06-02T21:24:12Z Indexed on 2010/06/02 22:44 UTC
Read the original article Hit count: 258

Filed under:
|
|

I'm running Visual Studio 2010 on a Windows 7 x64 machine, and occasionally VS is giving me the good old "The remote procedure could not be debugged.This usually indicates that debugging has not been enabled on the server" error that a lot of people ask about.

My problem, though, is that it seems to only do this randomly(it can be anywhere from a few minutes to a few hours), and after I've made plenty of successful calls to the service already. It doesn't prevent the service from working. It still returns values and doesn't throw any errors. The only difference is that annoying dialog pops up everytime I start to debug my application.

I should mention that I'm connecting the WCF service from a WPF application. If I launch the web site the service is part of, I don't get the dialog.

A few of the things I've tried that do not work:

  • Killing and restarting the server.
  • Compiling the web server in x86
  • Enabling tracing, but couldn't find any problems.

Is this just a bug in Visual Studio 2010, or is there something I'm missing?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about debugging