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.
Back to the top
Install the BizTalk Adapter 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
following folder, and then copy the Tracelog.exe file to the BizTalk Server 2006 installation folder or to the Microsoft BizTalk Server 2004 installation folder: Drive:\MicrosoftPlatformSDKInstallationFolder\Bin The BizTalk Server 2006
installation folder or the BizTalk Server 2004
installation folder also contains the Trace.cmd file. |
Back to the top
Enable the BizTalk Adapter Trace Utility
To enable the BizTalk Adapter Trace Utility in BizTalk Server 2006 or in BizTalk Server 2004, follow these steps:
| 1. | At a command prompt, change the current directory to the directory where BizTalk Server 2006 or BizTalk Server 2004 is installed. By default, BizTalk Server 2006 and BizTalk Server 2004 are installed in the following directories, respectively:| • | Program Files\Microsoft BizTalk Server 2006 | | • | Program Files\Microsoft BizTalk Server 2004 |
|
| 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
following directory:C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin Note 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 for Windows Server 2003 R2\Bin" The -tools switch indicates to the Trace.cmd file the location of the
Tracelog.exe file. |
Back to the top
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 -high |
| 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 for BizTalk Server 2006 named BtsTrace.bin is generated in the folder where BizTalk Server 2006 is installed. Or, a binary file for BizTalk Server 2004 named Bts2004.bin is generated in the folder where BizTalk Server 2004 is installed.
You can send the BtsTrace.bin file or the Bts2004.bin file to Microsoft Customer Support Services for analysis.
Back to the top