Enable Tracing in Web Access 8.

May 10, 2010 | KB: 1012601
WebAccess 8.0

Summary

In troubleshooting situations, it may be helpful to enable Web Access's tracing feature, which creates a log of detailed information about the program's execution. Tracing is disabled by default.

To Enable Tracing

Follow the steps below:

  1. On the machine hosting the web server, browse to Web Access's installation directory. In most cases, this will be C:\Program Files\Laserfiche\Web Access 8.
  2. Once inside the installation directory, browse into the Web Files folder.
  3. Locate the Web.config file and copy and paste it to a backup location. If Web Access encounters problems after completing the steps below, replace the version of the file in the installation directory with the backup version.
  4. Open the Web.config file (the version in the installation directory) in a text-editor (e.g., Notepad).
  5. Search for the following code: <add name="TestTractor".
  6. Locate the first instance of <!-- BEFORE the code you searched for earlier and delete it.
  7. Locate the first instance of --> AFTER the code you searched for earlier and delete it. The tracing code has now been uncommented, which allows the code to be executed during run time.
  8. Optional: By default, log files will saved to C:\trace.txt. To change this location, modify the value of the initializeData attribute (e.g., using initializeData="C:\Documents and Settings\JohnDoe\Desktop\WebAccessLogs.txt" will save a file named WebAccessLogs.txt to a Windows user named JohnDoe's desktop). Do not set the file's extension to anything other than .txt.

    Note: Ensure the Windows predefined local account named NetworkService has been granted full access to the folder where log files will be created.

  9. Restart the Internet Information Services (IIS) service. In Microsoft Windows Run dialog box, type "IISReset" and click OK.