• How much of the code did you copy paste? You only need to copy what's inside the main function.

    All the rest is generated by SSIS and you better not tamper with it.

    ps: wrong forum by the way 😉

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP