Article ID: 234977 - Last Review: September 5, 2006 - Revision: 3.1

PRB: Unexpected Error C0042116 with PDW "Cannot Move Filename to Its Final Destination...Processing Has Stopped"

This article was previously published under Q234977
Expand all | Collapse all

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: Cannot move filename "<filename>" to its final destination. Further processing has stopped.

CAUSE

The authenticated user does not have proper Windows NT File System (NTFS) permissions to the C:\InetPub\scripts directory or to the directory you are deploying to. The authenticated user needs at least NTFS Read and Execute (RX) permissions to the C:\InetPub\scripts directory and NTFS Change (RWXD) permissions to the deployment directory.

RESOLUTION

Assign the authenticated user Read and Execute permissions to the C:\InetPub\scripts directory and assign Change permissions to your deployment directory.

STATUS

This behavior is by design.

REFERENCES

For additional information about the Package and Deployment Wizard, click the article numbers below to view the articles in the Microsoft Knowledge Base:
242767  (http://support.microsoft.com/kb/242767/EN-US/ ) INFO: Deploying WebClasses with the Package and Deployment Wizard (PDW)
199017  (http://support.microsoft.com/kb/199017/EN-US/ ) HOWTO: Deploy Visual Basic IIS Applications with PDW

APPLIES TO
  • Microsoft Visual Basic 6.0 Learning Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
Keywords: 
kbdeployment kbprb kbwebclasses KB234977
 

Article Translations

 

Related Support Centers