Creating package snapshot generating fails if event Queue path is on different drive than C:
Error while downloading package: The version of the package on the server(1480621483) is older than required(1480624718) (0x80004005)
ITMS 8.0 HF4
"Altiris.NS.StandardItems.SoftwareDelivery.PackageSnapshotGenerator.MoveSnapshot FromTempFolderToSnapshotFolder()" used to copy the file with overwrite, then deletes temp file located at Event Queue path temp folder. In 8.0 HF4 it calls "SafeOps.MoveFile(...)" method which moves the file if destination doesn't exist, and uses "File.Replace()" if file exists.
The later "File.Replace(..)" is the cause of the issue, this is documented on MSDN, https://msdn.microsoft.com/en-us/library/9d9h163f.aspx (Remarks section) shown here:
The Replace method replaces the contents of a specified file with the contents of another file. It also creates a backup of the file that was replaced.
If the sourceFileName and destinationFileName are on different volumes, this method will raise an exception. If the destinationBackupFileName is on a different volume from the source file, the backup file will be deleted.
Pass null to the destinationBackupFileName parameter if you do not want to create a backup of the file being replaced.
Workaround: Change the Event Queues and temp folders to the c:
A fix is included in ITMS 8.0 HF5. Upgrade to receive the fix.
Subscribing will provide email updates when this Article is updated. Login is required.