Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

INFO: No Supported Method to Trace OLE DB API Calls


View products that this article applies to.

This article was previously published under Q271649

↑ Back to the top


Summary

Microsoft does not provide any supported tool to allow tracing of OLE DB API calls. The Trace Provider tool that ships with the Microsoft Data Access Components (MDAC) version 2.5 Software Development Kit (SDK) is a beta tool and, due to design limitations, is not useful for tracing in the majority of typical OLE DB usage scenarios. The Trace Provider that ships with the MDAC 2.5 SDK can cause the traced program to crash; because of this instability, its use is not supported by Microsoft Product Support Services.

↑ Back to the top


More information

ODBC provides an integrated means of tracing ODBC API calls called ODBC trace. With ODBC trace, one can perform API level tracing of calls to any ODBC driver in order to debug database related problems. OLE DB does not provide a similiar feature. In order to trace OLE DB API calls, you need a debug build of the OLE DB provider as well as the source code to the provider. Microsoft does not provide the source code or debug builds of its various OLE DB providers to the public.

↑ Back to the top


References

For additional information on how to use ODBC trace, click the article number below to view the article in the Microsoft Knowledge Base:
274551� HOWTO: Generate an ODBC Trace using ODBC Data Source Administrator

↑ Back to the top


Keywords: KB271649, kbinfo

↑ Back to the top

Article Info
Article ID : 271649
Revision : 3
Created on : 5/12/2003
Published on : 5/12/2003
Exists online : False
Views : 307