Microsoft KB Archive/301202

= How to check for MDAC version =

Article ID: 301202

Article Last Modified on 3/27/2007

-

APPLIES TO


 * Microsoft Data Access Components 2.1
 * Microsoft Data Access Components 2.1 Service Pack 2
 * Microsoft Data Access Components 2.1 Service Pack 1
 * Microsoft Data Access Components 2.1 Service Pack 2
 * Microsoft Data Access Components 2.5
 * Microsoft Data Access Components 2.5 Service Pack 1
 * Microsoft Data Access Components 2.5 Service Pack 2
 * Microsoft Data Access Components 2.6
 * Microsoft Data Access Components 2.6 Service Pack 1
 * Microsoft Data Access Components 2.6 Service Pack 2
 * Microsoft Data Access Components 2.7
 * Microsoft Data Access Components 2.8
 * Microsoft Data Access Components 2.8 Service Pack 1

-



This article was previously published under Q301202





IN THIS TASK

 * SUMMARY
 * Install and Use the Component Checker Tool
 * Check the Version Information Stored in the Registry
 * Troubleshooting
 * REFERENCES



SUMMARY
This article describes two different ways to check which version of Microsoft Data Access Components (MDAC) is installed on a system:
 * Use the Component Checker tool.
 * Check the version information that is stored in the registry.

back to the top

Install and Use the Component Checker Tool
The most reliable way to determine which version of MDAC is installed is to compare the version number of each MDAC DLL file to a list of the DLL files that are shipped with each MDAC version. The Component Checker can help you to do this. It checks the files on the computer, compares them to a list from each version of MDAC, and reports the closest match.

To install Component Checker, follow these steps:  Browse to the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displaylang=en

 Click the link to download Component Checker. When you are prompted by the browser, save Cc.exe (a self-extracting executable file) to the desktop. On the desktop, double-click Cc.exe; this extracts the Component Checker files and installs to the default location, C:\Comcheck.

To use Component Checker to check the MDAC version, follow these steps:  From the Start menu, click Run. In the Open text box, type c:\comcheck\comcheck.exe and then click OK.</li> In the Component Checker - Choose Analysis Type dialog box, select Perform Analysis of your machine and automatically determine the release version, and then click OK.</li>  The program attempts to identify the MDAC version on your computer by scanning all of the core MDAC files and registry settings. This process normally takes several minutes. When finished, you should receive the following message: <pre class="fixed_text">The MDAC version that is closest to the version on your computer is 'XXXX'. </li> Click OK.</li> A summary of the Component Checker scan appears. Note that the Dir, FileDescription, and FileSize errors can be safely ignored.</li></ol>

back to the top

Check the Version Information Stored in the Registry
Although not the most reliable way to check the MDAC version, checking the registry for the version information is an easy way to double-check this information (if you are not experiencing any MDAC-related issues).

The version information is found in the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\DataAccess\FullInstallVer

To check the registry, follow these steps:  On the Start menu, click Run.</li> In the Open text box, type regedit and then click OK; this starts Registry Editor.</li> In the Navigation pane, drill-down to the following path:

HKEY_LOCAL_MACHINE\Software\Microsoft\DataAccess

</li> In the Details pane, look in the Name column for FullInstallVer and Version. Each of these keys will have corresponding version information in the Data column.</li> When finished, click Exit on the Registry menu to close Registry Editor.</li></ol>

back to the top

Troubleshooting
Note that the version information stored in the registry may be incorrect for versions of MDAC prior to 2.1 when compared with the versions of the actual files. Windows 2000 installs version 2.5. Only versions of MDAC later than 2.5 may be installed on Windows 2000.

Downloads for Microsoft Data Access Components are available at the following Web site:

http://msdn2.microsoft.com/en-us/data/aa937695.aspx

back to the top

<div class="references_section">