Description: This solution describes how to resolve the unhandled exception: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
This error can occur if the name of the data file is long and you've chosen to either rename the processed import files with a timestamp, create an output file, or both. The extra characters in addition to the original file name will be too long.
The solution is to shorten the file name before importing.