PRB: Unexpected Error C0042116 With PDW: You Do Not Have Write Access to Destination URL
ID: Q234975
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
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 returned the following error: You do not have write access to destination URL http://<servername>/<directory>.
CAUSE
This error message could occur because of two reasons:
- You have not enabled Write permissions to the target directory you are deploying to. Write permissions are required in order to deploy your WebClass application.
-or-
- The deployment directory you have specified does not exist on the target server.
RESOLUTION
To enable Write permissions follow these steps:
- Open the Internet Service Manager (ISM) snap-in in the Microsoft Management Console (MMC).
- Right-click your deployment directory and select Properties.
- Select the Directory or Virtual Directory tab.
- Under Access Permissions, enable the Write permissions option.
- Click Apply and then click OK.
NOTE: Allowing write access to a virtual directory is a security risk. You should remove write access after deploying your WebClass.
STATUS
This behavior is by design.
REFERENCES
For additional information about the Package and Deployment Wizard, please see the following articles in the Microsoft Knowledge Base:
Q194296 HOWTO: Debug PDW Internet Deployment Issues
Q199017 HOWTO: Deploy Visual Basic IIS Applications with PDW
Additional query words:
Keywords : kbDeployment kbVBp600 kbWebClasses kbGrpASP kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb