Tips and Tricks in a world of Mix

Posts tagged ‘debug wcf’

SvcTraceViewer.exe for Wcf debbuging – Silverlight and WCF – The remote server returned an error: NotFound

http://msdn.microsoft.com/en-us/library/ms732023.aspx

Insert into web.config in configuration tag :

 

<system.diagnostics>
    <trace autoflush="true" />
    <sources>
            <source name="System.ServiceModel" 
                    switchValue="Information, ActivityTracing"
                    propagateActivity="true">
            <listeners>
               <add name="sdt" 
                   type="System.Diagnostics.XmlWriterTraceListener" 
                   initializeData= "SdrConfigExample.e2e" />
            </listeners>
         </source>
    </sources>
</system.diagnostics>


Open the log file : SdrConfigExample.e2e through SvcTraceViewer : (more…)

Tag Cloud

%d bloggers like this: