When an Automation Engine task tries to output on a path longer than 256 characters, it will fail with the error message "Error #3 while opening file".
This is an OS limitation rather than a software one. Your output path can be as long as the OS of your Automation Engine Server allows. For instance, Windows Server 2008 limits to 256 characters.
Symptoms
Automation Engine task fails with error "Error #3 while opening file".
Solution
Shorten your output path length to something minor to your Automation Engine's Server OS limit (typically 256 characters).
"Error #3 while opening file" refers to Windows error number 3, which means
ERROR_PATH_NOT_FOUND
3 (0x3)
The system cannot find the path specified.
This error can be caused by any reason why a path is not found.
The path exceeding the max. amount of characters for the OS is 1 possible reason.
If the path settings are built up via smart names, then it is also possible that 1 or more of these smart names do not return the correct value. Which can cause Automation Engine to search for a path which does not exist.
1 Comment
Konings, Joris
"Error #3 while opening file" refers to Windows error number 3, which means
ERROR_PATH_NOT_FOUND
3 (0x3)
The system cannot find the path specified.
This error can be caused by any reason why a path is not found.