Skip to main content

I have a workflow with a file iterator step. It runs without any issues in the IDE on my local machine, but whenever I deploy it my company’s RDM server, I get the following error:

2025-01-07 09:05:31 INFO: starting...
2025-01-07 09:05:31 ERROR: Problem during initialization of iterator valuejava.io.IOException: An unexpected network error occurred
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
    at java.io.WinNTFileSystem.canonicalize(Unknown Source)
    at java.io.File.getCanonicalPath(Unknown Source)
    at com.ataccama.dqc.resources.local.FileResource.getCanonicalPath(FileResource.java:40)
    at com.ataccama.dqc.resources.impl.DelegatingResourceBase.getCanonicalPath(DelegatingResourceBase.java:41)
    at com.ataccama.adt.task.iterators.FileIterator$FileIteratorInstance.iterate(FileIterator.java:133)
    at com.ataccama.adt.task.iterators.TaskIteratorInstance.initAndIterate(TaskIteratorInstance.java:36)
    at com.ataccama.adt.task.exec.EwfForEachTaskInstance.run(EwfForEachTaskInstance.java:75)
    at com.ataccama.adt.internal.core.runtime.EwfTaskProcessor$ThreadSlot.run(EwfTaskProcessor.java:372)


The child workflow called in the Iterate step is listed in the Available workflows in the Admin console, and I’m addressing it using the same resourceID:workflow_name.ewf convention that’s in that list. 

I’ve confirmed that the service account has access to the folder, as I can write a list of filenames in that folder to a list.

Can anyone provide any insight into the error and help with a resolution?
 

Hi ​@HMJohn,

The problem might be caused by a missing permissions on a subfolder of a shared folder.

https://learn.microsoft.com/en-au/troubleshoot/windows-server/performance/accessing-shared-folder-from-application-fails

Can you verify if there are no subfolders in the folder you trying to operate in.

Also right to list folder contents does not guarantee rights to access files.


Hi ​@AKislyakov,

Yes, the folder does not have any subfolders, and the Service Account has these NTFS permissions for that folder: Read, Write, Read & execute, Modify, and List folder contents.


Do you have Read permission for individual files in that folder (could be a case if inherit permission is disabled)? Also, can you try running the child workflow for individual files? Will it complete successfully?


Reply