In the SSIS package after loading the data from multiple XMl files (around 80) at the end I'm loading the data from SQL Table to Flat file(.csv) to create a summary report and I'm getting the below error if i scheduled this package in SQL Agent.
Flat File Destination failed the pre-execute phase and returned error code 0xC020200E.
If I run the package manually I'm not getting this error. Please advise.