MDAC 2.5 SDK - OLE DB Testing
Installation and Setup
To install the Trace Provider
- Locate the Trace Provider files using one of these methods:
- Download the tool from www.microsoft.com/data/download.htm. Save it to the \oledb\bin directory.
- If you obtained the tool as part of the Platform SDK, look for these files in the \oledb\bin directory on your computer:
Msdatrc.dll
Msdasfr.dll
TraceAdminVB.exe.
- Register the two .dll files with REGSVR32.
To set up the Trace Provider
- Follow the installation instructions above.
- Launch the Trace Provider Administrator, "TraceAdminVB", from the command line or double-click the icon.
- Select the providers you want to trace.
Note You can select service components (service providers) as well. Interfaces invoked by a service component will be reported to the receiver as if it came from the data provider. The more items you select, the larger the log file and the greater the performance degradation.
- Specify whether you want to filter out calls to IUnknown or OLE DB Services.
- Launch your application and perform the operations you want to trace. The Trace Provider will intercept calls until the provider check box is cleared in the Administrator or until your application terminates. The trace output will be saved to the default log file, Dbtrace.log.