I have a job that downloads a file using an http task. There is a subsequent task that copies that file to a share from the local directory. The copy file task is failing about 1 time in 20. Whenever I check the local folder, I see that the file exists.
The message in the task is "Exception in Task: System.Exception: No file(s) copied".
This is a new job, so I cannot say if this problem did or did not exist before 7.7.7.
After introducing a retry on error, we now get the following error when it fails (still intermittent):
Exception in Task: System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption, Boolean checkHost)
at System.IO.Directory.InternalGetFiles(String path, String searchPattern, SearchOption searchOption)
at VisualCronService.SearchAPI.GBOJMALLCMLMLNHFKFPIIPCCIDNIICBOHHBM(FileFilterClass , VariableReplacerClass ) in C:\sourcefiles\code\VisualCronService\Jobs\FileFilter\SearchAPI.vb:line 217
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.DKAFLEHHMFAPJOFJIFLJPAIDDJIEENMANICP.POMGLMOALKCPPIBJEOFCDCDGENCDADIHOMKJ(TaskCopyFileItemClass ) in C:\sourcefiles\code\VisualCronService\Jobs\TaskProcesses\File\clsProcessTaskCopyFiles.vb:line 106
Exception in Task: System.Exception: No file(s) copied
Edited by user
2015-10-29T14:45:58Z
|
Reason: Not specified