Knowledge Base

Support Policies

Enable logging to troubleshoot web services

You might see follow error in the debug log for a Web service multi-data store realm:

The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

To enable logging, edit the Web.confg and enter the following line between the <serviceBehaviors> tag:

<serviceDebug includeExceptionDetailInFaults="true" />

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.