Environment
Situation
When running a protect job or migration, the job will fail with:
Sending Files (top) | |
Error Code | |
Type | System.ArgumentException |
Message | path Parameter name: config\MOMLog.evt is not valid for GetLongPath() |
Source | PlateSpin.Utility |
Source Method | PlateSpin.LongPathSupport.IO.GetLongPath |
Source Method Signature | System.String GetLongPath(System.String) |
Source Module | C:\Program Files (x86)\PlateSpin Portability Suite Server\Controller\PlateSpin.Utility.dll |
Stack Trace | at PlateSpin.LongPathSupport.IO.GetLongPath(String path) at PlateSpin.LongPathSupport.IO.GetAllAttributesForFile(String fileName) at PlateSpin.LongPathSupport.IO.FileExists(String file) at PlateSpin.Athens.Operations.Machine.Copy.Source.LiveTransferHelpers.GetEventLogReaderActions() at PlateSpin.Athens.Operations.Machine.Copy.Source.VolumeServer.CreateFileReader(String[] paths) at PlateSpin.Athens.Operations.Machine.Copy.Source.ParallelServerSkeleton.SendPaths(String[] paths) at PlateSpin.Athens.Operations.Machine.Copy.Source.ServerSkeleton.Send(String[] pathsToRead, IActionContext contextForErrorRecovery) at PlateSpin.Athens.Operations.Machine.Copy.Source.VolumeServer.Send(String[] pathsToRead, IActionContext contextForErrorRecovery) at PlateSpin.Athens.Operations.Machine.Copy.Source.ServeFiles.Execute(IActionContext actionContext) at PlateSpin.OperationsFramework.Controller.Execution.Action.run(Boolean rollback) |
Resolution
1. Open the Registry Editor in Windows on your source server
2. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Operations Manager registry key
3. Edit the REG_SZ file to c:\windows\system32\config\MOMLog.evt rather than, config\MOMLog.evt
4. Retry the job
5. If the job fails again, restart the source server and retry the job