000032490 - How to enable WCF logging to troubleshoot Silverlight pages or other WCF services in RSA Archer

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000032490
Applies ToRSA Product Set: Archer

RSA Version/Condition: 5.x and higher

Platform: Windows
IssueWhen issues occur on Silverlight pages or other WCF services, a generic Silverlight exception is logged in the w3wp log file or no exceptions are logged at all.  Enabling WCF logging will help capture these exceptions.
ResolutionSteps to enable WCF logging:
  1. Go to the Archer site’s virtual directory (\inetpub\wwwroot\Archer) and open the “config” folder.
  2. Open the “Diagnostics.config” file in Notepad for editing.
  3. Locate the following lines and adjust the log file path for Web_messages.svclog and Web_tracelog.svclog:
<add initializeData="C:\dev\Web_messages.svclog"
<add initializeData="C:\dev\Web_tracelog.svclog"

  1. Close and save the “Diagnostics.config” file.
  2. Go to the Archer site’s virtual directory (\inetpub\wwwroot\Archer) and open the “web.config” for edit in Notepad.
  3. Toward the end of the file, locate these two lines and move the “-->” to the end of the line above.
BEFORE
        <!-- Uncomment the section below to turn on tracing for WCF services
        <system.diagnostics configSource="Config\Diagnostics.config" /> -->
AFTER
        <!-- Uncomment the section below to turn on tracing for WCF services -->
        <system.diagnostics configSource="Config\Diagnostics.config" />

  1. Perform an IISRESET.
  2. Reproduce the issue and wait a minute after the error so the log files get updated.
  3. Collect the WCF logs from the log path above.
  4. After testing, edit the “web.config” file again by moving the “-->” back down to comment out the line.
  5. Perform an IISRESET.
If you open the WCF log files in Microsoft Service Trace Viewer, find the items in red and select them.  The exception message is in the XML tab.  
The following image is from an issue where the left Navigation Menu would not load for some Workspaces.
User-added image
 

Attachments

    Outcomes