SSIS Package with multiple Data Flow task each of whose source is a variable based on Parent Variable
Hi All, I am having a wierd issue and any help regarding this would be highly appreciated. I have a parent package with a foreach loop container with some dates looped into it. Within the foreach loop is a 'Execute Package task'. The child package has multiple 'Data Flow Tasks' each of which basicaly extracts data from various XML extracts and load it to their respective tables. The various 'Data Flow Tasks' are independent of each other. The source for each xml extract in each 'Data Flow Task' is stored in a variable based on the 'Date' that is looped from the parent package. So basically the concept is that we are processing the extracts which have the certain date stamps in it - in one loop. The problem is that, when I execute the package multiple times - sometimes it executes successfully and sometimes it gives error, even when I did not do any changes in both the packages. The fact that sometimes it executes successfully means that I have everything set up properly. But I could not understand why it fails sometimes. The error it gives is basically that it cannot locate some source for some 'Data Flow task' (again reminder that the source for each xml extract is stored in a variable based on the 'Date' that is looped from the parent package). But the more wierd thing is that the 'Data Flow Task' that fails is different in each run (the same 'Data Flow Task' executed successfully in one run fails might fail on the other run). But there are all the files in the source locations that is needed. This is a very wierd issues that I am not being able to understand why it happens. If anyone has encountered the similar situations or know the solution, please help me out. Thanks in advance, FYI: I am using SQL Server 2008R2
October 18th, 2012 5:00pm

Could you please post the error you are getting? It will help us to provide the better solution for you. Regards, Chirag Patel (ETL Engineer)
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2012 11:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics