ACC2000: Error Message: ActiveX Component Can't Create Object (319841)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q319841
For a Microsoft Access 97 version of this article, see 296205.

For a Microsoft Access 2002 version of this article, see 319844.

Novice: Requires knowledge of the user interface on single-user computers.

SYMPTOMS

When you use Microsoft Access, you receive the following error message:
ActiveX component can't create object
This article describes some common causes for this error message and offers methods that you can use to resolve the issue.

CAUSE

This behavior can occur if any of the following conditions are true:
  • Data Access Objects (DAO) is not properly registered.

    -or-
  • One or more references are missing.

    -or-
  • There is a utility database reference that is not valid.

    -or-
  • You do not have the required permissions for required libraries.

    -or-
  • There is a damaged wizard file.

RESOLUTION

Cause 1: DAO Is Not Properly Registered

Resolution

  1. On the computer that hosts Microsoft Windows Terminal Server or the computer on which Microsoft Access is installed, click Start, and then click Run.
  2. Type regsvr32 followed by the path to your DAO file. Enclose this path in quotation marks. For example, to register the DAO 3.6 library, use the following command:

    regsvr32 "C:\Program Files\Common Files\Microsoft Shared\DAO\DAO360.DLL"

Cause 2: One or More References Are Missing

Resolution

  1. Open the database for you receive the error message.
  2. Press ALT+F11 to open the Microsoft Visual Basic Editor.
  3. In the Visual Basic Editor, click References on the Tools menu.
  4. Examine the list of libraries. If any items are marked as "missing," locate the library file and re-associate the reference. Or, click to clear the check box next to the library name.

Cause 3: There Is a Utility Database Reference That Is Not Valid

Resolution

  1. Open the database for which you receive the error message.
  2. Press ALT+F11 to open the Visual Basic Editor.
  3. In the Visual Basic Editor, click References on the Tools menu.
  4. Click to clear the check box next to any reference to Utility Database or Utility.mda.

Cause 4: You Do Not Have the Required Permissions for Required Libraries

Resolution

  • Make sure that users have "read" permissions for all files in the following folders:
       Operating System         Location
       --------------------------------------
       Windows NT, 2000, XP     \Winnt\System32
       Windows 95, 98, Me       \Windows\System
    					
  • If you cannot grant read permissions, you can use a utility such as FileMon to determine which file or files the users do not have the required permissions to use. To obtain FileMon, visit the following Sysinternals Web site:

Cause 5: There Is a Damaged Wizard File

Resolution

  1. Use Windows Explorer to locate the following wizard files: Acwzmain.mde, Acwztool.mde and Acwzlib.mde.
  2. Change the file name extension of each file to "old." For example, change Acwzmain.mde to Acwzmain.old.
  3. Reinstall Access to restore the files.

MORE INFORMATION

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MajorLast Reviewed:6/25/2004
Keywords:kberrmsg kbprb KB319841