views:

1067

answers:

3

I've got a problem where incoming SOAP messages from one particular client are being marked as invalid and rejected by our XML firewall device. It appears extra payload data is being inserted by Visual Studio; we're thinking the extra data may be causing a problem b/c we're seeing "VsDebuggerCausalityData" in these messages but not in others sent from a different client who is not having a problem. It's a starting point, anyway.

The question I have is how can the client remove this extra data and still run from VS? Why is VS putting it in there at all?

Thanks.

+2  A: 

A quick google reveals that this should get rid of it, get them to add it to the web.config or app.config for their application.

<configuration>
  <system.diagnostics>
    <switches>
       <add name="Remote.Disable" value="1" />
    </switches>
  </system.diagnostics>
</configuration>

The information is debug information that the receiving service can use to help trace things back to the client. (maybe, I am guessing a little)

  • I have proposed a follow up question to determine were the magic switch actually comes from.
Darryl Braaten
A: 

Excellent, my friend. Thanks!

scottmarlowe
A: 

For remove 'VsDebuggerCausalityData' you need stop de Visual Studio Diagnostic for WCF using this command:

VS 2008 -> c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>vsdiag_regwcf.exe -u VS 2010 -> c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE>vsdiag_regwcf.exe -u

I hope this help you or other people.

ggrocco