none
Problem with Setting <serviceDebug includeExceptionDetailInFaults="true'> in web.config in VS 2012 RRS feed

  • Question

  • VS 2012, Windows 8

    For debugging WCF service, I wanted to set <serviceDebug includeExceptionDetailInFaults> in behavior section of web.config

    Now, VS 2012 flags serviceDebug as invalid attribute. "The element behavior has invalid child element serviceDebug ..."

    Some posts advised me to ignore it but the service is not getting activated for even simple WCF calls. I end up with ServiceActivation error.

    If I remove the serviceDebug attribute, simple calls to WCF are working again.

    How should I enable details about exceptions to flow through to the Client?

     - Jayawanth 

    Tuesday, October 22, 2013 10:51 PM

Answers