最近我们将新的WCF路由服务添加到我们的项目中.在调试测试客户端调用我们的某个测试服务时,我们收到一条错误消息,其中包含以下消息:
Unable to automatically debug 'Service Name'. The remote procedure could
not be debugged. This usually indicates that debugging has not been enabled
on the server. See help for more information.
奇怪的是,调试器仍然能够连接到指定的服务名称.如果我直接将客户端指向服务,则不会出现错误对话框.我检查了所有服务的Web配置,启用了调试.我在其他帖子上看到的也没有指定安全模型.
该服务在Windows 7 Enterprise SP1上的IIS中托管.带SP1的Visual Studio 2010 Ultimate.