You receive a "ActiveX component can't create object" error message when using Access (319844)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q319844
For a Microsoft Access 2000 version of this article, see 319841.
Novice: Requires knowledge of the
user interface on single-user computers.
For a Microsoft Access
97 version of this article, see 296205.
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.
RESOLUTIONCause 1: DAO is not properly registeredResolution- On the computer that hosts Microsoft Windows Terminal
Server or the computer on which Microsoft Access is installed, click Start, and then click Run.
- 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 missingResolution- Open the database for which you receive the error
message.
- Press ALT+F11 to open the Microsoft Visual Basic
Editor.
- In the Visual Basic Editor, click References on the Tools menu.
- 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 validResolution- Open the database for which you receive the error
message.
- Press ALT+F11 to open the Visual Basic Editor.
- In the Visual Basic Editor, click References on the Tools menu.
- 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 librariesResolution- Make sure that users have "read" permissions for all files
in the following folders.
|
Windows XP | \Windows\System32 | Windows NT and Windows 2000 | \Winnt\System32 | Windows 95, Windows 98, and Windows Millennium Edition | \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 fileResolution- Use Windows Explorer to locate the following wizard files:
Acwzmain.mde, Acwztool.mde and Acwzlib.mde.
- Change the file name extension of each file to "old." For
example, change Acwzmain.mde to Acwzmain.old.
- Reinstall Access to restore the files.
MORE INFORMATION
The third-party products that this article discusses 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: | Major | Last Reviewed: | 5/22/2006 |
---|
Keywords: | kbMSCCSearch kbPubTypeKC kberrmsg kbprb KB319844 kbAudDeveloper |
---|
|