Problem
This error can appear in many forms, and many places. One of the common places is when a batch is set to be archived at a later date, and when that date arrives the service cannot access the archive location. The error below is an example:
"The network name cannot be found.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj)
at System.IO.Directory.CreateDirectory(String path)
at PSIGEN.Capture.IO.IOUtility.CopyOrMoveDirectoryContents(String source, String target, Boolean overwrite, Boolean copyFiles, IEnumerable`1 ignoreFiles)
at PSIGEN.Capture.Modules.BatchManager.BatchManagerService.ArchiveBatch(ReadOnlyBatchDescriptor batchToArchive, String archiveDirectory)"
Solution
To fix this error:
- Go to Batch Manager.
- Find all closed batches that are set to be archived.
- Update the Batches retention settings by clicking File - > Update Retention Settings (Image Attached)
Once saved, the settings will properly point to a valid path and will stop throwing errors in the logs.
Comments
Please sign in to leave a comment.