PRB: Unexpected error C0042116 with PDW "Web server either is not responding or returned an unrecognized response" (234974)
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 Q234974 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 Web server either is not responding or returned an unrecognized response.
Note Allowing Execute access permissions to a virtual directory is a security risk. Remove Execute access after you deploy your Web application.
CAUSE
This error message could occur because of the following reasons:
- You do not have a virtual directory called SCRIPTS that points to the physical directory C:\Inetpub\scripts.
-or- - You have not given Execute permissions to the SCRIPTS virtual directory.
-or- - The virtual server that you are deploying to is not running on port 80.
RESOLUTION
Verify that the SCRIPTS virtual directory exists and that you have enabled Execute permissions for this directory on the virtual server to which you are deploying.
Use the following steps to create the SCRIPTS virtual directory:
- Open the Internet Service Manager (ISM) snap-in in the Microsoft Management Console (MMC).
- Right-click the virtual server that you are deploying to and select New then Virtual Directory.
- When asked for an Alias, type SCRIPTS and click Next.
- When asked for physical directory, browse to the physical location of the scripts directory, which is under your Inetpub directory, and click Next.
- Make sure to allow Execute access permissions and then click Next.
- Click Finish.
Use the following steps to enable Execute permissions:
- Open the Internet Service Manager (ISM) snap-in in the Microsoft Management Console (MMC).
- Right-click the SCRIPTS virtual directory that is under the virtual server that you are deploying to and select Properties.
- Select the Virtual Directory tab.
- Under Access Permissions, enable the Execute permissions option.
- Click Apply and then click OK.
You will not be able to deploy your WebClass application to a virtual server that is not running on port 80.
STATUS
This behavior is by design.
REFERENCES
For more information about the Package and Deployment Wizard, click the following article numbers to view the articles in the Microsoft Knowledge Base:
242767
Deploying WebClasses with the Package and Deployment Wizard (PDW)
199017 How to deploy Visual Basic IIS applications with the PDW
Modification Type: | Minor | Last Reviewed: | 5/2/2006 |
---|
Keywords: | kbDeployment kbprb kbWebClasses KB234974 |
---|
|