SAMPLE: Adotest.exe Provides Command Line Functionality for Testing ADO Components (298494)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
This article was previously published under Q298494 SUMMARY The Adotest.exe file provides a command line tool (and
source code for the tool) that uses ADO components to connect to a back end
server. This tool:
- Tests whether ADO is properly installed on a computer. ADO
is installed on a computer by Microsoft Data Access Components
(MDAC).
- Can be used to confirm whether a client can connect to a
back end database, using a specific provider to get the data.
- Does not have any graphical user interface (GUI) or
Microsoft Foundation Class (MFC) dependencies, and works as long as ADO is
installed properly on the computer.
- Can be used to ping the back end data store by using the
OLEDB Provider. The number of pings can be specified. The tool can be used to
resolve intermittent ADO connectivity problems that are particularly associated
with memory issues on the client by using a specific provider.
NOTE: This tool is compiled by using ADO 2.6. If you want to use the
tool with a version of ADO earlier than MDAC 2.6, recompile the tool by using
the source code files. REFERENCES For more information on MDAC, see the following Microsoft
Web site:
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbdownload kbdownload kbfile kbsample KB298494 |
---|
|