开发者

remote debugging wcf service using visual studio 2010

I am trying to debug remotely my wcf services using visual studio 2010, remote machine win srv 2003 with IIS 6 I keep on receiving the following error

开发者_JS百科

Microsoft Visual Studio

The following module was built either with optimizations enabled or without debug information:

c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\test\491f1a5c\3c7386d6\assembly\dl3\20ac69eb\a4e6ceed_8c24cc01\xxxxxx.Interfaces.dll

To debug this module, change its project build configuration to Debug mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option.

OK

my build is in debug mode, I have deleted the temp file and redeploy, restart visual studio, but without any chance. can you help?


I have seen this issue as well. I have found that stopping the service before you re-deploy the WCF service fixes the issue. I think part of the problem is that something is accessing the WCF which causes the DLL to stay in memory although I am not sure.


Look in your web.config and see if the following is there:

<configuration>

...
  <system.web>
    ...  
    <compilation debug="true" />
    ...
  </system.web>

...
</configuration>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜