Microsoft KB Archive/285321

= PRB: MDAC Installation Fails When Registering OCX =

Article ID: 285321

Article Last Modified on 12/5/2003

-

APPLIES TO

 Microsoft Data Access Components 2.5, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows 2000 Standard Edition  Microsoft Data Access Components 2.6, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows 2000 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q285321

<div class="symptoms_section">

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

<div class="cause_section">

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

HKEY_CLASSES_ROOT\Interface

<div class="resolution_section">

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: <ol> Start the Registry Editor (Regedt32.exe).</li> Locate and select the following key in the registry:

HKEY_CLASSES_ROOT\Interface

</li> On the Security menu, click Permissions.</li> 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.</li> Quit the Registry Editor.</li></ol>

After you make the changes, you can begin the MDAC installation.

Additional query words: install setup

Keywords: kbprb KB285321

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.