How to use the BizTalk Adapter Trace Utility in BizTalk Server 2004 (835451)



The information in this article applies to:

  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition

SUMMARY

This step-by-step article describes how to install the Microsoft BizTalk Adapter Trace Utility. It also discusses how to run the BizTalk Adapter Trace Utility and how to have the generated trace file analyzed.

Install the Trace Utility

To install the BizTalk Adapter Trace Utility, follow these steps:
  1. To download the Tracelog.exe file, visit the following Microsoft Platform SDK download Web site:
  2. Start the Platform SDK Web installation program by clicking the link for the PSDK-x86.exe file at the bottom of the Web page.
  3. When you are prompted, choose the option for a custom installation.
  4. In the Custom Installation dialog box, click to clear all the available features.
  5. Expand the Microsoft Windows Core SDK feature, and then expand the Tools feature.
  6. Choose the Tools (Intel 64-bit) feature, and then click Will be installed on local hard drive.
  7. Click Next, and then click Next again to start the installation.
  8. Locate the Drive:\MicrosoftPlatformSDKInstallationFolder\bin folder, and then copy the Tracelog.exe file to the Microsoft BizTalk Server 2004 installation folder. The BizTalk Server 2004 installation folder also contains the Trace.cmd file.

Enable the BizTalk Adapter Trace Utility

To enable the BizTalk Adapter Trace Utility in BizTalk Server 2004, follow these steps:
  1. At a command prompt, change the current directory to the directory where BizTalk Server 2004 is installed. By default, BizTalk Server 2004 is installed in the Program Files\Microsoft BizTalk Server 2004 directory.
  2. Type the following command, and then press ENTER:

    trace -tools "Path of the BizTalk Adapter Trace Utility"

    By default, the BizTalk Adapter Trace Utility is located in the C:\Program Files\Microsoft Platform SDK\Bin directory. You must enclose the path of the BizTalk Adapter Trace Utility in quotation marks.

    For example, type the following command:

    trace -tools "C:\Program Files\Microsoft Platform SDK\Bin"

    The -tools switch indicates to the Trace.cmd file the location of the Tracelog.exe file.

Run the BizTalk Adapter Trace Utility

To run the BizTalk Adapter Trace Utility on a scenario, follow these steps:
  1. At a command prompt, type the following command, and then press ENTER:

    trace -start

  2. Reproduce the scenario that you want to trace.
  3. At a command prompt, type the following command, and then press ENTER:

    trace -stop

    After you stop the trace, a binary file that is named Bts2004.bin is generated in the folder where BizTalk Server 2004 is installed.
You can send the Bts2004.bin file to Microsoft Product Support Services for analysis.

Modification Type:MajorLast Reviewed:5/18/2005
Keywords:kbBTSOrchestration kbBTSMessaging kbinfo KB835451 kbAudDeveloper