Hi All,
I tried to get a global variable in my task scritp by using "Dts.Variables("myVar").Value", every time I've got an error
The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
I've seen some examples online to get global varaibles in task script and all of them display the same code
Any idea
Franck
To access variable this way it has to be included in the list of ReadOnlyVariables or ReadWriteVariables on your script task properties SCRIPT properties section. Remember also that variables names are case sensitive.
1 comment:
Are you looking to make money from your websites or blogs with popunder advertisments?
If so, did you know about Clickadu?
Post a Comment