ACC2000: ActiveX Error When You Open a Database That Does Not Use ActiveX Controls (310814)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q310814
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).

SYMPTOMS

When you try to open an Access 2000 database that does not use ActiveX controls, you may receive one of the following error messages:
ActiveX error: There is no license for this control
ActiveX error: There is no object in this control

CAUSE

This behavior can occur if the Microsoft Data Access Object (DAO) 3.6 object library (Dao360.dll) is not correctly registered.

RESOLUTION

To resolve this behavior, manually register the Dao360.dll file by using the Regsvr32.exe program:
  1. Locate the Dao360.dll file, and then note the path to the file. Typically, the file is in the C:\Program Files\Common Files\Microsoft Shared\DAO folder.
  2. Click Start on the Windows taskbar, and then click Run.
  3. In the Open box, type the following command, and then press ENTER

    Regsvr32 "filepath\Dao360.dll"

    where filepath is the path to the Dao360.dll file.

    For example, if the file is located in the C:\Program Files\Common Files\Microsoft Shared\DAO folder, type the following command, and then press ENTER:

    Regsvr32.exe "C:\Program Files\Common Files\Microsoft Shared\DAO\Dao360.dll"


  4. Quit the Regsvr32.exe program.

Modification Type:MinorLast Reviewed:7/15/2004
Keywords:kberrmsg kbprb KB310814