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.
Follow the steps below:
- 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.
- Once inside the installation directory, browse into the Web Files folder.
- 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.
- Open the Web.config file (the version in the installation directory) in a text-editor (e.g., Notepad).
- Search for the following code:
<add name="TestTractor".
- Locate the first instance of <!-- BEFORE the code you searched for earlier and delete it.
- 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.
- 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.
- Restart the Internet Information Services (IIS) service. In Microsoft Windows Run dialog box, type "IISReset" and click OK.