vadoriu


Hello!

I'ave got a problem of setting more than one Variable in ReadOnlyVariables Property of ScriptComponent...I provide comma separated list of names ( As described in the help ) byt VS Studio Editor can not be opoened claiming that there is no a variablle with such a name...Looks like it doesn't treat the list as a collection of names...

Please help.

Vladimir




Re: How To Set Multiple ReadOnlyVariables in Script Component in Integration Services 2005

Phil Brammer


Make sure there are no spaces in the list.

Var1,Var2,Var3

This will not work:

Var1, Var2, Var3

Also note that variable names are case sensitive.






Re: How To Set Multiple ReadOnlyVariables in Script Component in Integration Services 2005

JayH

Triple-check your spelling and the scope your variables are defined in. I got the error just this morning and it was a spelling problem.





Re: How To Set Multiple ReadOnlyVariables in Script Component in Integration Services 2005

vadoriu

Thanks for your response...

I verified the spelling got rid of spaces...but result is the same

It is interesting thing.. I have only two variables: One is set on a package level and another is on the Data Flow Task level...

When I set one of them in ReadonlyVariables and another in ReadandWriteVariables it allows me to open VS for Applications. If I move both to the same location ( ReadonLy or ReadAnd Write with comma separation and no spaces ) it issues the message I described...

I tried specifying the namespaces for the variables, but with no Luck...

Not usre what to do...

Any ideas will be greately appreciated...

Thanks,

Vladimir





Re: How To Set Multiple ReadOnlyVariables in Script Component in Integration Services 2005

Phil Brammer

What version of SSIS are you using

RTM SP1 SP2