When running a map from a scheduled task, receiving an error that says “Connection could not be validated (0)” in the event viewer. The same map runs fine from inside Great Plains.
If you are using a text file for your datasource, check the directory permissions for the folder where the file is at. Make sure that the user assigned to run the scheduled task has Read, Write, and List Folder Contents permissions.