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 INFORMATIONSteps to Reproduce Behavior
-
Open the sample database Northwind.mdb.
-
Press ALT+F11 to switch to the Visual Basic Editor.
-
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.
-
In the Available Add-Ins list, click VBA Package and Deployment Wizard.
-
Under Load Behavior, click to select the Loaded/Unloaded check box, and then click OK.
-
On the Add-Ins menu, click Package and Deployment Wizard.
-
Click Package.
-
Create a simple setup package with Northwind.mdb, and accept all the defaults.
-
When the package has been created, click Deploy.
-
In the Deployment script box, accept Web Deployment 1, and then click Next.
-
In the Package to deploy box, enter the name of the package that you created earlier. Click Next.
-
Under Deployment method, click Web Publishing, and then click Next.
-
Click Next on the Items to Deploy and Additional Items to Deploy screens.
-
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.
-
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.
- 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
|