Hi, Could someone please help me with the following issue:
I have a windows service which makes call to a file based SSIS Package. In this package I have 3 tasks under control flow tab which run in sequence they are connected in. First task just delete some reocords, second task, reads data from flat file and rowcount updates global variable, let's say InputRowCount, third task is just a script task that does something else. Once package runs fully, I try to access this global variable in windows service througth package object that was used to call the package. I don't get the updated value from this variable. But if I remove the first task from control flow tab and task that reads the file and update the rowcount becomes first, it can get the proper value from this variable. Also want to mention that I pass PackageEvents object to execute method to get the events for logging. Packages works fine when run through DtsExec and in BIDS. Could someone please help.