Microsoft KB Archive/255726

= PRB: Error 429 Occurs When You Open or Use the Package and Deployment Wizard =

Article ID: 255726

Article Last Modified on 5/13/2003

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q255726



SYMPTOMS
When you use the Package and Deployment Wizard, error 429 may occur in the following two situations:  When you open the Package and Deployment Wizard, this error message appears:

Run-time error '429':

ActiveX component can't create object

-or-

 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:  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.

 From the Add-Ins menu, choose Add-In Manager. Select Package and Deployment Wizard from the list of available add-ins.</li> Clear the Loaded/Unload check box in the Load Behavior section of the Add-In Manager dialog box and then close the dialog box.</li> 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"

</li> From the Add-Ins menu, choose Add-In Manager.</li> Select Package and Deployment Wizard from the list of available add-ins.</li> Check the Loaded/Unload check box in the Load Behavior section of the Add-In Manager dialog box and then close the dialog box.</li></ol> </li></ul>


 * If the error occurs just after you choose the Package or Deploy button, the file named Hostwiz.dll needs to be manually registered.


 * 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"

<div class="moreinformation_section">

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.

<div class="references_section">