Microsoft KB Archive/234977

From BetaArchive Wiki
Knowledge Base


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

Article ID: 234977

Article Last Modified on 9/5/2006



APPLIES TO

  • Microsoft Visual Basic 6.0 Learning Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 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


Keywords: kbdeployment kbprb kbwebclasses KB234977