Framework Issue (Chapter 2)
Iâm confused with the diagram (Figure 2-9) on page 53. The confusion stems from the fact that the PreExecute event will and should fail before SSIS executes the âSQL LogPackageStartâ task because the PackageLogID variable is set to 0 and it has not been set to the correct PackageLogID. The way that I went around it is to I apply the PreExecute and even the PostExecute at the âSEQ Package Logicâ sequence task scope. Therefore, these events will only be executed in the sequence task after the âSQL LogPackageStartâ task has run and set the PackageLogID with the correct ID.
Although my package works now, I want to make sure I didnât miss anything because in the book these events are applied at the package level not the sequence task level.
Gustavo
|