Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

ForEach Loop for CSV files

$
0
0

I created an SSIS package that will grab CSV files in a folder and import them into the SQL Server.  I've done imports in the past with Excel and experienced no problems.  However, I'm having trouble in the deployed environment whereas the test environment is working without any problems.

The ForEach loop has a variable under expressions for the directory and it seeks CSV files (by name and extension).  The import file is also listed under variable mappings.  The process should check the folder for ANY CSV file and import them into SQL Server.  In the test environment, this works.  However, in the deployed environment, it does not grab the files (the directories are the same, test file names are the same).

Does anyone know what the problem might be?

(Note: in the deployed environment, SSIS will show that it successfully completed with no debug errors, however, no data were imported).


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>