PRB: MDAC Installation Fails When Registering OCX (285321)



The information in this article applies to:

  • Microsoft Data Access Components 2.5, when used with:
    • the operating system: Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 2000
  • Microsoft Data Access Components 2.6, when used with:
    • the operating system: Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 2000

This article was previously published under Q285321

SYMPTOMS

Installation of Microsoft Data Access Components (MDAC) version 2.5 or version 2.6 on a Microsoft Windows NT 4.0-based computer or a Microsoft Windows 2000-based computer may fail with one of the following error messages:
Error Registering the OCX C:\WINNT\SYSTEM32\OLEAUT32.DLL
Error Registering the OCX C:\WINNT\SYSTEM32\MSADO15.DLL
Error Registering the OCX C:\WINNT\SYSTEM32\ODBCCONF.DLL
Error Registering the OCX C:\WINNT\SYSTEM32\MSXML2.DLL

CAUSE

The user installing MDAC does not have sufficient permissions to the following registry key and its subkeys:

HKEY_CLASSES_ROOT\Interface

RESOLUTION

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


The following steps illustrate how to give the current user appropriate permissions to complete the MDAC installation successfully:
  1. Start the Registry Editor (Regedt32.exe).
  2. Locate and select the following key in the registry:

    HKEY_CLASSES_ROOT\Interface

  3. On the Security menu, click Permissions.
  4. Give the current user (or a group to which the user belongs) Full Control permissions on this key. In Windows NT 4.0, make sure that you select the Replace Permissions on Existing Subkeys checkbox. In Windows 2000, make sure that you select the Allow inheritable permissions from parent to propagate to this object checkbox. Click OK to save your changes.
  5. Quit the Registry Editor.
After you make the changes, you can begin the MDAC installation.

Modification Type:MajorLast Reviewed:12/5/2003
Keywords:kbprb KB285321