I have my package which runs with no errors in BIDS. But when I schedule a job to run the package, I get the following error right at the end of the package execution
Description: Failed to lock variable "User::Server_list" for read access with error 0xC0010001
User::Server_list is a variable I no longer use and I replaced it with something else. For some screwed up reason , SSIS still thinks this variable is being used but I've gone through every single component in my package and I can't find a
reference to this variable. In fact it's not even in my variable list!
I also have no breakpoints and the CheckpointfileName package property is blank.
Maybe I'm missing something but is there a way to make SSIS display all variables used?! The package does contain a lot of components so maybe I've missed one somewhere but then surely the package would have failed in BIDS?!
Another strange thing. I disabled all my components, saved and re-imported the package into SSIS Package Store but when I run the scheduled job it still gives an error about a variable I no longer reference!
Any ideas?
www.SQL4n00bs.com