Microsoft Knowledge Base Email Alertz

After you install Microsoft Data Access Components (MDAC) 2.5, you may recieve the following error message: Error registering the OCX C:\Winnt\System32\Oleaut32.dll. Error registering the OCX C:\Winnt\System32\Oleaut32.dll.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 298194 - Last Review: February 23, 2007 - Revision: 3.1

PRB: Oleaut32.dll Does Not Register When You Install MDAC 2.5

System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows Vista Solution Center
This article was previously published under Q298194
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  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/EN-US/ ) Description of the Microsoft Windows Registry

SYMPTOMS

After you install Microsoft Data Access Components (MDAC) 2.5, you may receive the following error message:
Error registering the OCX C:\Winnt\System32\Oleaut32.dll.

CAUSE

This problem can occur when you do not have administrative permissions to register Oleaut32.dll.

RESOLUTION

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.

To resolve this issue, follow these steps:
  1. Start Registry Editor (Regedt32).
  2. Locate and select the following subkey:
    HKEY_CLASSES_ROOT\Interface
  3. On the Security menu, click Permissions.
  4. Set the local Administrator to Full control and select the Allow inherited permissions from parent to propagate to this object check box.
  5. If the local Administrator is not present, click Add to add the Administrator.
You can now install MDAC 2.5.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
177514  (http://kbalertz.com/Feedback.aspx?kbNumber=177514/EN-US/ ) PRB: Installing MDAC/ADO/RDS on Windows NT Requires Admin Privileges
259569  (http://kbalertz.com/Feedback.aspx?kbNumber=259569/EN-US/ ) PRB: Installing Third-Party Product Breaks Windows 2000 MDAC Registry Settings
268553  (http://kbalertz.com/Feedback.aspx?kbNumber=268553/EN-US/ ) PRB: Visual Studio, Office Developer's Kit Installation Problems Occur If Crystal Reports 8 Is Installed

APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Data Access Components 2.5
  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
Keywords: 
kbprb KB298194
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate