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

Variable duplicating the file location twice

$
0
0

Why would my file name be in my expression twice like this?

[Flat File Source [2]] Error: Cannot open the datafile "C:\Users\BILL\Desktop\New folder\C:\Users\BILL\Desktop\New folder\CM.txt".

I created a variable in the variables tab,  I used it in the foreach loop container under the File enumerator dropdown.  I select all the *.txt files in the folder that is evaluted by the location expression.  I created another variable in the variable mappings tabs.  I set the properties of the Flat file connection manager to "C:\Users\BILL\Desktop\New folder\".  I keep getting this error.  The dataflow tab only has a flat file source going to a multicast with an enabled datviewer.  What is the problem?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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