• Is this a script task (control flow) or component (data flow)? If in the data flow then you can only access variables in some methods, e.g. preexecute, postexecute. From memory this will be dependant on what type of script component it has been set up as, i.e. source, destination or transform.

    Hope that helps

    Rob.