未知错误号429已经发生:ActiveX 部件不能创建对象
Unexpected error number 429 has occurred: ActiveX component can't create
object
解决方法:Regsvr32 "C:\Program Files\Microsoft Visual Studio\COMMON
\Wizards98\hostwiz.dll"
参考:Help with package and deployment wizard Error
http://objectmix.com/basic-visual/27777-help-package-deployment-wizard-
error.html
SYMPTOMS
When you use the Package and Deployment Wizard, error 429 may occur in the
following two situations:
a.. When you open the Package and Deployment Wizard, this error message
appears:
Run-time error '429':
ActiveX component can't create object
-or-
b.. After you choose the Package or Deploy button in the Package and
Deployment Wizard, the following error message appears:
Unexpected error number 429 has occurred: ActiveX component can't create
object.
CAUSE
A file needed by the Package and Deployment Wizard does not exist or has
not
been properly registered on the development computer.
RESOLUTION
To resolve the problem, use these steps:
a.. If the error occurs when you try to open the Package and Deployment
Wizard, you need to unload the Package and Deployment Wizard, manually
register the file named Pdwizard.ocx, and then reload the wizard.
1.. From the Add-Ins menu, choose Add-In Manager.
2.. Select Package and Deployment Wizard from the list of available
add-ins.
3.. Clear the Loaded/Unload check box in the Load Behavior section of
the Add-In Manager dialog box and then close the dialog box.
4.. Register the Pdwizard.ocx file by using the RegSvr32 utility. On the
Windows Start menu, select Run and execute the following command:
Regsvr32 "C:\Program Files\Microsoft Visual
Studio\VB98\WIZARDS\PDWIZARD\pdwizard.ocx"
5.. From the Add-Ins menu, choose Add-In Manager.
6.. Select Package and Deployment Wizard from the list of available
add-ins.
7.. Check the Loaded/Unload check box in the Load Behavior section of
the Add-In Manager dialog box and then close the dialog box.
a.. If the error occurs just after you choose the Package or Deploy
button, the file named Hostwiz.dll needs to be manually registered.
1.. Register the Hostwiz.dll file by using the RegSvr32 utility. On the
Windows Start menu, select Run, and then execute the following command:
Regsvr32 "C:\Program Files\Microsoft Visual
Studio\COMMON\Wizards98\hostwiz.dll"
MORE INFORMATION
After the error occurs, the Package and Deployment Wizard menu item may
appear more than once in the Add-Ins menu. The additional menu item exists
because the Package and Deployment Wizard Add-In terminated prematurely and
was unable to remove the menu item. You can remove the extra menu item by
using the Customize feature.
To remove the extra menu item, use these steps:
1.. From the View menu, choose Toolbars and then select Customize on the
Toolbars layout. The Customize dialog box opens.
2.. With the Customize dialog box visible, drop down the Add-Ins menu.
3.. Drag the unnecessary menu item off of the Add-Ins menu and drop it
onto the Customize dialog box.
4.. Close the Customize dialog box.
-----------------------------------\
SYMPTOMS
When trying to run an application using Remote Data Object (RDO), the first
line of code that references RDO generates error number 429 listed below:
ActiveX component cannot create object.
CAUSE
This may be due to a registration problem with the Msrdo20.dll file. This
error can also be caused by mismatched DLLs. For instance, the application
may find and use the wrong version of a DLL, such as ODBC32.DLL.
RESOLUTION
Manually re-register the .dll using the REGSVR32 utility. To do this,
select
Run from the Start menu and enter the following line:
REGSVR32 c:\winnt\system32\Msrdo20.dll
It may be necessary to include a path to Regsvr32.exe and/or modify the
path
to the Msrdo20.dll file.
STATUS
This behavior is by design.