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.

Error message when you try to run wizards in Access: "Error in loading dll" or "Object library not registered"


View products that this article applies to.

Symptoms

Consider the following scenario: You try to run wizards in Microsoft Office Access 2007 or in Microsoft Access 2010. For example, you try to run an import wizard, the Query Wizard, the Report Wizard, or a control wizard.

In this scenario, you receive one of the following error messages:

Error message 1
Error in loading dll

Error message 2
Object library not registered

↑ Back to the top


Cause

This issue occurs because one of the following registry keys may not exist:

ACEDAO.DLL

(OS: 64 bit; Office: 32 bit)
Key: HKEY_CLASSES_ROOT\ TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32
String: (Default)
Value: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\ACEDAO.DLL

(OS: 64 bit; Office: 64 bit) or (OS: 32 bit; Office: 32 bit)
Key: HKEY_CLASSES_ROOT\ TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32
String: (Default)
Value: C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEDAO.DLL

Note OFFICE14 is used in this registry key path. OFFICE14 should represent the current version of Access that is installed. For this example, OFFICE14 represents Access 2010. If you have Access 2007 installed, then OFFICE14 should be changed to OFFICE12.


DAO360.DLL

(OS: 64 bit; Office: 32 bit)
Key: HKEY_CLASSES_ROOT\TYPELIB\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32
String: (Default)
Value: %CommonProgramFiles(x86)%\Microsoft Shared\DAO\dao360.dll

(OS: 64 bit; Office: 64 bit) or (OS: 32 bit; Office: 32 bit)
Key: HKEY_CLASSES_ROOT\TYPELIB\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32
String: (Default)
Value: %CommonProgramFiles%\Microsoft Shared\DAO\dao360.dll

↑ Back to the top


Resolution

To resolve this issue, set the correct values for these DLLs in the registry. To do this, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require you to reinstall the operating system. Microsoft cannot guarantee that these problems can be resolved. Modify the registry at your own risk.

To have us fix this problem for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.

Fix it for me

To fix this problem automatically, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.


Fix this problem
Microsoft Fix it 55032


Notes
  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

Then, go to the "Did this fix the problem?" section.

Let me fix it myself

To re-create the keys, follow these steps:
  1. Start Notepad.
  2. Copy and paste the following lines of text for your environment, starting with "Windows Registry Editor Version 5.00," into the Notepad document.

    (OS: 64 bit; Office: 32 bit)

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\TypeLib\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32]
    @=hex(2):25,00,43,00,6f,00,6d,00,6d,00,6f,00,6e,00,50,00,72,00,6f,00,67,00,72,\
    00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,28,00,78,00,38,00,36,00,29,00,\
    25,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,53,\
    00,68,00,61,00,72,00,65,00,64,00,5c,00,44,00,41,00,4f,00,5c,00,64,00,61,00,\
    6f,00,33,00,36,00,30,00,2e,00,64,00,6c,00,6c,00,00,00
    [HKEY_CLASSES_ROOT\TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32]
    @="C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\OFFICE14\\ACEDAO.DLL"


    (OS: 64 bit; Office: 64bit) or (OS: 32 bit; Office: 32 bit)

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\TypeLib\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32]
    @=hex(2):25,00,43,00,6f,00,6d,00,6d,00,6f,00,6e,00,50,00,72,00,6f,00,67,00,72,\
    00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,25,00,5c,00,4d,00,69,00,63,00,\
    72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,53,00,68,00,61,00,72,00,65,00,64,\
    00,5c,00,44,00,41,00,4f,00,5c,00,64,00,61,00,6f,00,33,00,36,00,30,00,2e,00,\
    64,00,6c,00,6c,00,00,00
    [HKEY_CLASSES_ROOT\TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32]
    @="C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE14\\ACEDAO.DLL"

  3. Save the Notepad file as Win32Keys.reg.
  4. Using Windows Explorer, browse to C:\Windows\SysWow64\regedt32.exe, and then double-click regedt32.exe to run it.
  5. In Registry Editor, locate where you saved the Win32Keys.reg file, and then click Open.

Did this fix the problem?

  • Check whether the problem is fixed. If the problem is fixed, you are finished with this section. If the problem is not fixed, you can contact support.
  • We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me" blog or send us an email.

↑ Back to the top


More information

To resolve the error "Error loading dll" on a 32-bit version of Windows, follow the steps in one of the following articles in the Microsoft Knowledge Base to reregister dao360.dll and msado15.dll:
303769 Error message when running Access wizards
833220 "Error in loading DLL" error message when you run a Microsoft Access wizard in Access
Registry cleaners are not known to remove the HKCR\TYPELIB\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32 key on 32-bit versions of Windows. However, if you experience the "Error loading dll" error, you may have a program installed that registered either dao360.dll or msado15.dll incorrectly.

↑ Back to the top


Keywords: KB2734304, kbmsifixme, kbfixme

↑ Back to the top

Article Info
Article ID : 2734304
Revision : 2
Created on : 1/6/2013
Published on : 1/6/2013
Exists online : False
Views : 469