"ActiveX component can't create object" Runtime Error in Visual Basic Application

This behavior can occur if any of the following conditions are true:

  • Data Access Objects (DAO) is not properly registered.
  • One or more references are missing.
  • There is a utility database reference that is not valid.
  • You do not have the required permissions for required libraries.
  • There is a damaged wizard file.

Cause 1: DAO is not properly registered
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
1. Open the database for which 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
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.

Cause 4: You do not have the required permissions for required libraries
Make sure that users have "read" permissions for all files in the following folders as per Operating System Location:

  • 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: Sysinternals

Cause 5: There is a damaged wizard file
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.

6 comments:

  1. Thanks for the good writeup. It in reality used to be a entertainment account it.
    Look complex to more added agreeable from you! However,
    how could we be in contact?
    Also visit my homepage : symptoms of acid reflux

    ReplyDelete
  2. Howdy! This post couldn't be written any better! Reading through this post reminds me of my old room mate! He always kept chatting about this. I will forward this write-up to him. Fairly certain he will have a good read. Thank you for sharing!
    Also visit my blog ; proform deals

    ReplyDelete
  3. Since the admin of this web page is working, no doubt very quickly it will
    be well-known, due to its quality contents.

    Feel free to visit my blog post twitter

    ReplyDelete
  4. Thank you for every other magnificent article.
    The place else may just anybody get that kind of information in such a perfect means of
    writing? I have a presentation next week, and I am on the search
    for such information.

    my page :: http://dabagirls.com/from-hookah-to-dicks/

    ReplyDelete
  5. Terrific article! This is the kind of information that are meant to be shared across the net.
    Shame on Google for now not positioning this submit
    higher! Come on over and talk over with my site .
    Thanks =)

    Also visit my webpage; sex xxx

    ReplyDelete
  6. Awesome post.

    Here is my site ... teen porno

    ReplyDelete