I'm trying to load multiple files from a location into DB using Foreach Loop Container & DataFlow task in SSIS.
It's getting crashed while I try to execute the package. It's not giving any error message, whenever I execute the package it crashes and closes the visual studio app immediately. I have to kill the debug task in the task manager for the next execution of the package.
So I tried the below steps:
- I used a FileSystem task instead of DataFlow task to just move all the files from the source to the archive directory, which ran fine without any issues.
- Ran the DataFlow task individually to load a single file into DB, which was also executed successfully.
I couldn't figure out what was going wrong here. Any help would be appreciated! Thanks!
Screenshots










fxmark on the container). (2) The Flat File connection manager expressions. (since you are loading file dynamically)