We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to enable tracing and error message logging in Silverlight?

  1. Right-click on web.config file and select Edit WCF Configuration.

 

cid:image001.png@01D02F99.028DE5E0

Figure 1: Edit WCF Configuration window

When you cannot find the “Edit WCF Configuration” here, goto Tools -> Select Edit WCF Configuration.

 

cid:image002.png@01D02F99.028DE5E0

Figure 2: Edit WCF Configuration Window

  1. Click on Diagnostics and choose Enable Message Logging and Tracing.

 

cid:image003.png@01D02F99.028DE5E0

Figure 3: Enabling Message Logging and Tracing

cid:image004.png@01D02F99.028DE5E0

Figure 4: Enabling Message Logging and Tracing

  1. When you want to change the log file saving location, open the web.config in VisualStudio and change the location as follows.

XAML

  1. You can host this web.config in server, and the log files are saved in “C:\log\web_tracelog.svclog”.
  2. Make sure that your Application Pool – Identity has permission to write to that folder.

 

Article ID: Published Date: Last Revised Date: Platform: Control:
3511 01/27/2015 01/27/2015 Silverlight OlapClient
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.