This topic describes how to install the Trace Log tool and how to enable BizTalk adapter tracing.
Download the Trace Log tool from the Microsoft® Windows® Software Development Kit Update for Windows Vista Web site.
Start the Microsoft® Windows® Software Development Kit Update for Windows Vista Web installation program by clicking the link for the PSDK-x86.exe file at the bottom of the Web page.
In the Select an Installation Type dialog box, choose the option for a Custom installation, and then click Next.
Accept the default installation location and then click Next.
In the Custom Installation dialog box, click to clear all the available features.
Expand the Microsoft Windows Core SDK feature, and then expand the Tools feature.
Choose the Tools (Intel 64-bit) feature, and then click Will be installed on local hard drive.
Click Next, and then click Next again to start the installation.
At a command prompt, change the current directory to the directory where BizTalk Server 2009 is installed. By default, BizTalk Server 2009 is installed in the drive:\Program Files\Microsoft BizTalk Server 2009\ directory. If using a 64-bit version of Windows and BizTalk Server 2009, the installation path is drive:\Program Files (x86)\Microsoft BizTalk Server 2009\.
Type the following command, and then press ENTER:
trace -tools "Path of the Trace Log tool"
By default, the Trace Log tool (tracelog.exe) is located in the C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin directory. If using a 64-bit version of Windows the Trace Log tool is located at C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0\Bin. You must enclose the path of the Trace Log tool in quotation marks.
For example, type the following command, and then press ENTER:
trace -tools "C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin"
At a command prompt, change the current directory to the directory where BizTalk Server 2009 is installed.
At a command prompt, type the following command, and then press ENTER:
trace -start
Reproduce the scenario for which you want to capture trace output.
trace -stop
After you stop the trace, a binary file that is named Btstrace.bin is generated in the folder where BizTalk Server is installed.
Send the Btstrace.bin file to Microsoft Product Support Services for analysis.