ISSUE

It may happen that you will encounter below error while migrating to EV as target. The error may appear in any Stage 2 command that is processed by EV Provisioning module.

2018-11-28 21:20:52Z|1021|server_name| 38| INFO| ProcessCommand|Got Command ZapArchivePermissions
2018-11-28 21:20:52Z|1021|server_name| 38|DEBUG| Get|Got Command ZapArchivePermissions
2018-11-28 21:20:52Z|1021|server_name| 38| INFO| ZapArchivePermissions|ZapArchivePermissions for [test_8DED0C946ADCCAAF9F1EE093F1110000EV]
2018-11-28 21:20:52Z|1021|server_name| 38|TRACE| ZapArchivePermissions|>> ExecuteEVPM
2018-11-28 21:20:52Z|1021|server_name| 38|TRACE| GenerateZapArchivePermissionScript|>> GenerateZapArchivePermissionScript
2018-11-28 21:20:52Z|1021|server_name| 38|TRACE| WriteTempFile|>> WriteTempFile
2018-11-28 21:20:57Z|1021|server_name| 38|TRACE| WriteTempFile|<< WriteTempFile [4574 ms]
2018-11-28 21:20:57Z|1021|server_name| 38|TRACE| GenerateZapArchivePermissionScript|<< GenerateZapArchivePermissionScript [4574 ms]
2018-11-28 21:20:57Z|1021|server_name| 38|TRACE| ZapArchivePermissions|<< ExecuteEVPM [4574 ms]
2018-11-28 21:20:57Z|1021|server_name| 38|ERROR| Execute|Error while ZAP archive permissions. Void WinIOError(Int32, System.String)
The file exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.GetTempFileName()
at ArchiveShuttle.Module.EVProvisioning.EVPMExecutor.WriteTempFile(String strToWrite)
at ArchiveShuttle.Module.EVProvisioning.EVPMExecutor.GenerateZapArchivePermissionScript(EVZapArchivePermissionsData archivePermissionsData)
at ArchiveShuttle.Module.EVProvisioning.EVPMExecutor.ZapArchivePermissions(EVZapArchivePermissionsData archivePermissionsData)
at ArchiveShuttle.Module.EVProvisioning.CommandExecution.ZapArchivePermissionsExecutor.Execute(ModuleCommand command)

It may fail on

  • EnableMailbox
  • ZapArchivePermissions
  • AssignArchive

Solution

  1. Go to folder for service account under which AS is running
    • C:\Users\service-account\AppData\Local\Temp\tmpfilename.tmp
  2. Locate .tmp files that are in folder
    • it may look like : tmpEC88.tmp
    • .tmp file is generic and is not same for each command and mapping
  3. Delete all .tmp files
  4. Retry STAGE 2 command

 

Print Friendly, PDF & Email