Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/255726

From BetaArchive Wiki
Knowledge Base


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.

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


REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

198038 INFO: Useful Tools for Package and Deployment Issues



Additional query words: error 429 PDW

Keywords: kbappsetup kbprb kbwizard KB255726