PRB: Unexpected Error C0042116 with PDW "The Parameter Is Incorrect" (234978)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Server 5.0

This article was previously published under Q234978

SYMPTOMS

When using the Package and Deployment Wizard (PDW) to deploy an Internet Information Server (IIS) application to a Web server, you receive the following error message:
Unexpected error number C0042116 has occurred: The parameter is incorrect.

RESOLUTION

This is often a client issue resolved by installing the Web Publishing Wizard.

STATUS

This behavior is by design.

MORE INFORMATION

You can install the Web Publishing Wizard by running wpie15.exe from the \Setup folder of Disc 1 of Visual Studio. To get the latest version, you can choose "Windows Update" from the Windows Start button or go directly to the following Microsoft Web site: and choose Product Updates. The wizard is listed under "Internet Authoring." See the "References" section for additional information.

REFERENCES

For additional information about the Package and Deployment Wizard, click the article numbers below to view the articles in the Microsoft Knowledge Base:

242767 INFO: Deploying WebClasses with the Package and Deployment Wizard (PDW)

199017 HOWTO: Deploy Visual Basic IIS Applications with PDW

168636 Microsoft Web Publishing Wizard Updates Available


Modification Type:MajorLast Reviewed:9/5/2006
Keywords:kbDeployment kbprb kbWebClasses KB234978