Learn how to use the
http://www.google.com/search?hl=en&q=FaultContract+WCF
FaultContract
www.idesign.net has good examples.
"C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin"
"C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\SvcTraceViewer.exe"
Learn how to log "extra" info with the SvcTraceViewer.exe
That should give you some CLUES. You'll have to research a little bit on
how to set things up.
NOte, c:\wutemp\ must "preexist", but here are some debugging sections.
Take them OUT for production code (under normal running circumstances)
-------HOST SIDE
<system.diagnostics>
<trace autoflush="true" />
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
<listeners>
<add name="sdt"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\wutemp\Host1.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
-----------CLIENT SIDE
<system.diagnostics>
<trace autoflush="true" />
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
<listeners>
<add name="sdt"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\wutemp\Client1.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>