• Thank you so much Stan for your reply. After adding your script to the mini package, I got the same error. However, I have populated the Variable Mapping node of the Foreach loop with the variables vPKName, vTableName, vTempTableName and PkgName, and assigned index values accordingly. When I run it, I get a different error this time:

    Error: Error 0xC00CE556 while loading package file "E:\Extracts\RLT_GE_RF_DPRUL_01DYS_20110503_0000_V01.csv" into an XML document. Invalid at the top level of the document.

    Line 1, Column 1.

    It seems to be reading the data file but what I dont understand is why the error says it is loading it into an XML document. Any ideas?

    Thank you for your time.

    Ray