The data paths are pointing to the correct data valid folders at the time of the failure?
FormInitialize, FormCreate, or FormLoad event, it’s possible that in your IDE event sequence, a setting of Autoload=True is causing a configuration (.CFG) file to be loaded after your paths were initially set, and reset to them to the values in the CFG file. The best way to confirm that the paths are set correctly would be to have a means to echo the path property values at the time that you observe the failure.