Hi,
I have 3 files that i load data from MarionCTA.txt,MarionCTD.txt and MarionCTF.txt. These three files are located on the local drive on the dev server. In my packagae in the control flow i have 3 foreach loop containers (one for each file). The following is the information that i have in the Foreach loop editor (the first container). In the collections under the expressions i have the
Directory as @[User::ODDYSEYSourceFileLocation]
File Spec as @[User::ODDYSEYFileMaskNewFilings]
Folder:F:\FTPShare\ftp\ODDYSEYDownloads
Files: MarionCTF*.txt
In the Variable Mappings i have variable as User::CurrentFile with Index value 0.
In the Flat file Connection Manager i gave the file name as "F:\FTPShare\ftp\ODDYSEYDownloads\PlaceHolder.TXT"
The variable CurrentFile has the value "PlaceHolder.txt"
and the variable ODDYSEYFileMaskNewFilings has the value "MarionCTF*.txt"
When i execute the container, its failing with the following error:
[Flat File Source [1]] Error: Cannot open the datafile "F:\FTPShare\ftp\ODDYSEYDownloads\PlaceHolder.TXT".
[SSIS.Pipeline] Error: component "Flat File Source" (1) failed the pre-execute phase and returned error code 0xC020200E.
Please need help.
SV