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.

PRB: MDAC Installation Fails When Registering OCX

View products that this article applies to.

This article was previously published under Q285321

↑ Back to the top


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

↑ Back to the top


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

↑ Back to the top


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:
  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.

↑ Back to the top

Keywords: KB285321, kbprb

↑ Back to the top

Article Info
Article ID : 285321
Revision : 5
Created on : 12/5/2003
Published on : 12/5/2003
Exists online : False
Views : 462