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

ID: Q230450


The information in this article applies to:
  • Microsoft Office 2000 Developer

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.


MORE INFORMATION

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.


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



REFERENCES

For additional information about installing the Posting Acceptor on Microsoft Internet Information Server, please see the following article in the Microsoft Knowledge Base:

Q192116 Configure Posting Acceptor to Work with the PDW

Additional query words: pra prb

Keywords : kberrmsg kbdta AccCon modPDWizard
Version : :
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: November 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.