Microsoft KB Archive/230450

= MOD2000: "Unexpected Error" When Deploying to a Web Server =

Article ID: 230450

Article Last Modified on 11/25/2002

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q230450



Advanced: Requires expert coding, interoperability, and multiuser skills.



SYMPTOMS
In the "Package and Deployment" Wizard, when you try to deploy a package to a Web server running either Personal Web Server or Peer Web Server, you may see one of the following error messages:  Using FTP as the Web Publishing Protocol:

Unexpected error number C0042116 has occurred: The server returned the following message:

200 Type set to I.

200 PORT command successful.

500 setup.exe: Access is denied.

 Using HTTP Post as the Web Publishing Protocol:

Unexpected error number 80042114 has occurred: The Web server you selected does not indicate support for the service provider you selected. Do you want to proceed anyway?

When you click Yes and Finish, you receive the following error message:

Unexpected error number C0042116 has occurred. The parameter is incorrect.





CAUSE
The "Package and Deployment" Wizard uses a technology called the Posting Acceptor to manage the transfer of your package to a Web server. The server to which you are posting must be running the service for the Posting Acceptor component. However, Posting Acceptor runs only on Microsoft Internet Information Server (IIS). Posting Acceptor cannot work on platforms that use Personal Web Server or Peer Web Server.

NOTE: If you see a similar error when posting to Microsoft Internet Information Server, the server most likely does not have Posting Acceptor installed or it is not configured correctly. In this case, please see the "References" section at the end of this article.



RESOLUTION
Deploy the package to a server running Microsoft Internet Information Server that is running the Posting Acceptor component.



Steps to Reproduce Behavior

 * 1) Open the sample database Northwind.mdb.
 * 2) Press ALT+F11 to switch to the Visual Basic Editor.
 * 3) On the Add-Ins menu, if the Package and Deployment Wizard is not listed, click Add-In Manager. If it is listed, skip to step 6.
 * 4) In the Available Add-Ins list, click VBA Package and Deployment Wizard.
 * 5) Under Load Behavior, click to select the Loaded/Unloaded check box, and then click OK.
 * 6) On the Add-Ins menu, click Package and Deployment Wizard.
 * 7) Click Package.
 * 8) Create a simple setup package with Northwind.mdb, and accept all the defaults.
 * 9) When the package has been created, click Deploy.
 * 10) In the Deployment script box, accept Web Deployment 1, and then click Next.
 * 11) In the Package to deploy box, enter the name of the package that you created earlier. Click Next.
 * 12) Under Deployment method, click Web Publishing, and then click Next.
 * 13) Click Next on the Items to Deploy and Additional Items to Deploy screens.
 * 14) On the Package to Deployment Wizard - Web Publishing Site screen, enter a valid URL to a server running either Personal Web Server or Peer Web Server. Click Next.
 * 15) On the message that asks if you want to save the URL in the registry, click No.

Note that you receive the first error message mentioned in the "Symptoms" section.
 * 1) Click Yes on the error message, and then in the wizard, click Finish.

Note that you receive the second error message mentioned in the "Symptoms" section of this article.

