I am trying to rewrite a DTS package in SSIS and trying to make use of the existing codes defined under ActiveX Script Task. When copied and pasted in Integration Services Script Task in SSIS package, I received some errors as below. I am trying to find the place where they are declared as I don't see these variables defined in the program. Please see if you can help. Thank you in advance.
Error 1 Expression is a value and therefore cannot be the target of an assignment.
Error 2 Name 'StepScript_TaskDontExecute' is not declared.
Error 3 'SourceFileExists' is not a member of 'String'