When using the Windows Task Scheduler option to run jobs, you may receive the following error:
- System.IO.DirectoryNotFoundException: Could not find a part of the path <specific path>
Where the <specific path> is a mapped drive path.
This is occurs because the mapped drive in the path is not mapped under the user context that is executing the Windows Task.
To resolve this problem, change the path in Sync & Save to use a UNC style path.
For instance, if the original path is
F:\doFormsData\Export.xlsx
and
F:\ is connected to a share called Data on the server MyServer,
the new UNC path would be
\\MyServer\Data\doFormsData\Export.xlsx