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



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 Q234977

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 INFO: Deploying WebClasses with the Package and Deployment Wizard (PDW)

199017 HOWTO: Deploy Visual Basic IIS Applications with PDW


Modification Type:MajorLast Reviewed:9/5/2006
Keywords:kbDeployment kbprb kbWebClasses KB234977