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

Deployed Project not importing CSV file Data

$
0
0
I have a project with an Execute SQL Task (Which truncates the temp table when the project is run), a Foreach Loop Container which contains a Data Flow task to import the results of CSV files into the temp table. I then have outside of the Foreach Loop Container, a Script Task that deletes the CSV files from a specified folder directory. When I run the project in debug mode, it works perfectly. The temp table is truncated, the results of multiple CSV files is imported into the Temp table, and the CSV files are deleted. However, when I deploy the project and create a SQL Agent Job, the truncate table task runs as well as the Script task that deletes the files. But there is no data that is imported. It's as if the Data Flow Task inside the Foreach Loop Container does nothing. Any ideas? I'm using 2012.

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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