How to turn on WCF tracing?

后端 未结 4 1119
感动是毒
感动是毒 2020-11-21 23:36

Update:

I have been trying to turn on WCF tracing, but still no success... Below is my lastest update.

Do I need a permission to write to th

4条回答
  •  醉梦人生
    2020-11-22 00:33

    The following configuration taken from MSDN can be applied to enable tracing on your WCF service.

    
      
        
          
            
                 
            
          
          
            
                
            
          
          
            
                
            
          
        
        
            
        
      
    
    

    To view the log file, you can use "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\SvcTraceViewer.exe".

    If "SvcTraceViewer.exe" is not on your system, you can download it from the "Microsoft Windows SDK for Windows 7 and .NET Framework 4" package here:

    Windows SDK Download

    You don't have to install the entire thing, just the ".NET Development / Tools" part.

    When/if it bombs out during installation with a non-sensical error, Petopas' answer to Windows 7 SDK Installation Failure solved my issue.

提交回复
热议问题