SSIS Package error

I am trying to run a ssis package and I get the following error message :

Failed to lock variable "intDelayTime" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".  

I have declared the variable intDelayTime as Int32 in the variable list but still I get the above message. Please help. Thanks.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simone BSenior E-Commerce AnalystCommented:
First thing to do is to check the scope of the variable that you created.
Click on the task that is giving you this Error and then Go to Variables and check for the variable..If you don't see it in the list then it is a Variable Scope Issue, meaning that the variable is not in scope for the task to use it.. delete the variable and create it globally to be be used in the package

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason Yousef, MSSr. BI  DeveloperCommented:
Check the correct spelling , it's case sensitive.

Also check the scope as other's change the scope ,either delete and recreate the variable or download BIDS HELPER

Also if you're using a script task, make sure not to forget to add the value as read only or read write..

Alpesh PatelAssistant ConsultantCommented:
Please make sure the scope of the Variable.

It is for whole package or any of task.

If variable is define for any of task then it will not available outside that task.
RdichpallyAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.