hi all,
I have a Data Flow Task that has to be ran against a collection of files in a folder.
I have put the Data Flow Task inside a ForeachLoop container with a Package level parameter
User::fileName as enumerator. Even though it is declared as String, and the names of the files are strings, I get this error message:
Error: 0xC001F009 at Package: The type of the value being assigned to variable "User::fileName" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object.
I have tried to define the parameter at the Data Flow level, I tried to declared before adding the Foreach Loop, nothing works. Another parameter which happens to be an int, where I put a row count seems to work just fine - as a matter of fact the first iteration works, in that the first file is processed OK, however the next file in the folder is not processed and I get the error mesage above (sorry about the font, I don't know what happened),
Thanks,
kowalsky