Microsoft KB Archive/288706

= PRB: CLSID {00000010-0000-0010-8000-00AA006D2EA4} Not Found When You Run an Application =

Article ID: 288706

Article Last Modified on 4/15/2001

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Professional Edition

-



This article was previously published under Q288706



SYMPTOMS
When you first try to run an application that a Visual Basic 6.0 Setup package installed and that the Packaging and Deployment Wizard (PDW) created, you may receive the following error message:

Class not registered.

Looking for object with CLSID {00000010-0000-0010-8000-00AA006D2EA4}.



CAUSE
This error occurs when the Visual Basic 6.0 project references the Microsoft Data Access Objects (DAO) 3.6 Object Library (DAO360.dll) and not DAO350.dll. The {00000010-0000-0010-8000-00AA006D2EA4} CLSID is associated with DAO350.dll.

When the intrinsic Data control's Connect property is set to Access, and the application uses this Data control, the application requires that DAO350.dll is registered on the system. However, DAO350.dll is not included in the distribution package that the PDW creates because it is not referenced in the project.



RESOLUTION
To resolve this problem, set the Connect property of the intrinsic Data control to Access 2000, which uses DAO360.dll. This resolution is valid even if you are using a Microsoft Access 97 database. For additional information, see the steps in the &quot;More Information&quot; section.



Steps to Reproduce Behavior
 Create a new Standard EXE project in Visual Basic 6.0. Form1 is created by default. On the Start menu, click Run, and type the following command to unregister DAO350.dll:

regsvr32 -u &quot;C:\Program Files\Common Files\Microsoft Shared\DAO\dao350.dll&quot;

Note: Make sure that you specify the path for DAO350.dll as it appears on your system. Add the intrinsic Data control to Form1. Change the Connect property to Access. Set the DatabaseName property to the Nwind.mdb or the Biblio.mdb database under the \Program Files\Microsoft Visual Studio\VB98 folder. Press the F5 key to run the project. You receive the above-mentioned error message. If the Data control is tied to a data-aware control, you do not see any information in that control.

Steps to Resolve Behavior
 Stop the project, and change the Connect property for the Data control to Access 2000.</li> Press F5 to run the project. The error message does not appear.</li> Stop the project.</li> On the Start menu, click Run, and type the following command to register DAO350.dll:

<pre class="fixed_text">regsvr32 &quot;C:\Program Files\Common Files\Microsoft Shared\DAO\dao350.dll&quot;

Note: Make sure that you specify the path for DAO350.dll as it appears on your system.</li></ol>

Keywords: kbdatabase kbjet kbappsetup kbprb kbwizard kbctrl kbdeployment KB288706

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.