Using Regtrace.exe to Gather Debug Information from Site Server

ID: Q221115


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

This article discusses how to use Regtrace.exe to gather debug information that can help Microsoft Support Professionals troubleshoot problems with a Microsoft Site Server installation.


MORE INFORMATION

Regtrace.exe is a utility that ships with Microsoft Site Server version 3.0. It is useful for helping debug certain problems that may occur. Use the following steps to enable Regtrace.exe:

  1. Click Start, click Run, type "Regtrace.exe" (without the quotation marks), and click OK.


  2. On the Traces tab, click to select all of the options.


  3. Click the Output tab and specify the desired file name for the log file. For example, C:\Trace.atf.


  4. Restart your computer for this to take effect.


To set the log file size, do the following:
  1. Start Registry Editor (Regedt32.exe or Regedit.exe).

    WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

    For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).


  2. Locate the following registry key:
    HKEY_Local_Machine\Software\Microsoft\MosTrace\CurrentVersion\AsyncDebugTrace


  3. Add the following value:
    Value Name: MaxTraceFileSize
    Value Type: Reg_Dword
    Value Data: <number of bytes> (default = 5242880 or 5 MB)


  4. Exit Registry Editor.


NOTE: You can set the log file size before step 4 in the "To enable Regtrace" section.

Additional query words:


Keywords          : 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: April 26, 1999