Skip to content
This repository
  1. Add the content below to your web.config file.
  2. Create a folder called C:\logs
  3. Start your project
  4. Run your project until you get the error. Look for the messages.svclog file in C:\logs
  5. Send that file to your Account Mgr. (It has your creds in it, and you won’t want to post here).

This information came from: http://msdn.microsoft.com/en-us/library/ms730064(v=VS.90).aspx


<system.diagnostics>
  <sources>
      <source name="System.ServiceModel.MessageLogging">
        <listeners>
                 <add name="messages"
                 type="System.Diagnostics.XmlWriterTraceListener"
                 initializeData="c:\logs\messages.svclog" />
          </listeners>
      </source>
    </sources>
</system.diagnostics>

<system.serviceModel>
  <diagnostics>
    <messageLogging 
      logEntireMessage="true"
      logMalformedMessages="true" 
      logMessagesAtServiceLevel="true"
      logMessagesAtTransportLevel="true"
      maxMessagesToLog="50"
      maxSizeOfMessageToLog="50000000" />
  </diagnostics>
</system.serviceModel>

Something went wrong with that request. Please try again.