- Add the content below to your web.config file.
- Create a folder called C:\logs
- Start your project
- Run your project until you get the error. Look for the messages.svclog file in C:\logs
- Send that file to your Account Mgr.
<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>
No comments:
Post a Comment