“Failed to lock variable” SSIS error

前端 未结 8 1084
[愿得一人]
[愿得一人] 2021-01-18 12:58

I am getting an error randomly for a scheduled SSIS package which runs hourly. The funniest thing is that if I delete the checkpoint file and run the package again it works

8条回答
  •  悲哀的现实
    2021-01-18 13:06

    I had the same problem. Fix which worked for me:

    Root Cause: I had created the variable and used it inside "Data Flow" to hold value of "Row Count". After this, I was trying to use this variable in "control Flow" > "Script Task". It did not work and gave me same error as posted.

    Fix: I created the variables and used in "Script Task". After it got used in script task, I assigned the value of Row Count in Data Flow > Row Count.

    It looks strange to me, but it worked :)

提交回复
热议问题