How to use the BizTalk Adapter Trace Utility in BizTalk Server

Article translations Article translations
Article ID: 835451 - View products that this article applies to.
Expand all | Collapse all

On This Page

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 BizTalk Adapter Trace Utility

To install the BizTalk Adapter Trace Utility on Windows Server 2008, follow these steps:
  1. To download the Tracelog.exe file, install the Microsoft Windows Software Development Kit (SDK) Update for Windows Vista. To do this, visit the following Microsoft Web site:
    http://www.microsoft.com/downloads/details.aspx?familyid=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en
    Note The Tracelog.exe file is not included with Windows SDK for Windows Server 2008 and the Microsoft .NET Framework 3.5. Therefore, install the Windows Vista SDK on Windows Server 2008.

    For more information, visit the following Microsoft Web sites:
    Windows SDK for Windows Server 2008 and the .NET Framework 3.5
    http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
    Windows Software Development Kit (SDK) for Windows Server 2008 and the .NET Framework 3.5 Release Notes
    http://msdn.microsoft.com/en-us/windowsserver/bb986638.aspx
  2. When the Installation Options window is displayed, expand Developer Tools, expand Windows Development Tools, and then click to select the Win32 Development Tools check box.
  3. Click to clear the other check boxes, and then continue the installation.
  4. Locate the following folder, and then copy the Tracelog.exe file to the BizTalk Server installation folder:
    Drive:\MicrosoftSDKInstallationFolder\Bin
    By default, the Tracelog.exe file is in the C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin folder. The BizTalk Server installation folder also contains the Trace.cmd file.
To install the BizTalk Adapter Trace Utility on Windows Server 2003, follow these steps:
  1. To download the Tracelog.exe file, install the Windows Server 2003 R2 Platform SDK. To do this, visit the following Microsoft Web site:
    http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
  2. When the Select An Installation Type window is displayed, click Custom.
  3. In the Custom Installation dialog box, expand Microsoft Windows Core SDK, and then expand Tools.
  4. Click Tools (Intel 64-bit), and then click Will be installed on local hard drive.
  5. Click Will not be available on everything else, and then continue the installation.
  6. Locate the following folder, and then copy the Tracelog.exe file to the BizTalk Server installation folder:
    Drive :\MicrosoftPlatformSDKInstallationFolder\Bin
    By default, the Tracelog.exe file is in the C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\bin folder. The BizTalk Server installation folder also contains the Trace.cmd file.

Enable the BizTalk Adapter Trace Utility

To enable the BizTalk Adapter Trace Utility, follow these steps:
  1. At a command prompt, change the current directory to the directory where BizTalk Server is installed. By default, BizTalk Server is installed in the Program Files\Microsoft BizTalk Server 200x directory.
  2. Type the following command, and then press ENTER:
    trace -tools "Path of the BizTalk Adapter Trace Utility"
    By default on Windows Server 2003, the Trace Utilities are located in the following directory:
    C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin
    By default on Windows Server 2008, the Trace Utilities are located in the following directory:
    C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin
    Note You must enclose the path of the Trace Utilities in quotation marks.

    For example, type the following command on Windows Server 2003:
    trace -tools "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin"
    On Windows Server 2008, type the following command:
    trace -tools "C:\Program Files\Microsoft SDKs\Windows\v6.0\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 -all
  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 and for later versions that is named BtsTrace.bin is generated in the folder where BizTalk Server is installed. In BizTalk Server 2004, a binary file that is named Bts2004.bin is generated in the folder where BizTalk Server is installed.

You can send the BizTalk Server trace .bin file to Microsoft Customer Support Services for analysis.

Properties

Article ID: 835451 - Last Review: September 23, 2011 - Revision: 12.0
APPLIES TO
  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard
  • Microsoft BizTalk Server 2006 R2 Branch Edition
  • Microsoft BizTalk Server 2006 R2 Developer Edition
  • Microsoft BizTalk Server 2006 R2 Enterprise Edition
  • Microsoft BizTalk Server 2006 R2 Standard Edition
  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition
Keywords: 
kbbtsorchestration kbbtsmessaging kbinfo KB835451

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com