Article ID: 189366 - Last Review: January 23, 2007 - Revision: 3.1 ACC97: Run-Time Error 429 When Running Code in Run-Time AccessThis article was previously published under Q189366 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
You install a Microsoft Access run-time application and when you run code, you receive the following error message:
Run-time error '429': ActiveX component can't create object CAUSE
You installed the run-time application on a computer on which Microsoft Access has never been previously installed. This error can occur when the DAO Automation Server license key is unavailable in the system registry and your code contains DAO statements that do not include the Application object, DBEngine. The DAO Automation Server license key is used to verify that the application has authorization to use the server. This error message can also occur on a computer that has Microsoft Access installed if the following conditions are true:
RESOLUTION
You can get Microsoft Access to provide its DAO license key by using DBEngine as the application object in the call to DAO. For example, the following code
Although you only need to reference the Application object, DBEngine, the first time that you use DAO, it is good programming practice to use the Application object any time that you reference DAO functionality in code. MORE INFORMATION
This error message does not imply that an ActiveX control is involved. In
this case, DAO, an ActiveX component, cannot create an object because the
DAO Automation Server cannot be started.
When using the DAO server, there are two ways the DAO license key can be provided for verification:
REFERENCESFor additional information about Error 429, click the article number below
to view the article in the Microsoft Knowledge Base:
244264
(http://support.microsoft.com/kb/244264/EN-US/
)
INFO: Error 429 When Automating Office Applications
| Article Translations
|


Back to the top
