![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
While looping trough te "Steps" collection of a 'Package-object' with the variable "objStep" the call in VBscript of "objStep.GetExecutionErrorInfo lngErrorCode , ErrSource, ErrDescription" results in an error message : " Type mismatch: 'objStep.GetExecutionErrorInfo' " Does anybody know what is wrong ? (The loop performs well when the line is quoted out.) (Pre- condition(s) that is usesed: " IF objStep.ExecutionStatus = DTSStepExecStat_Completed THEN IF objStep.ExecutionResult = DTSStepExecResult_Failure THEN " ) Niels Belonje |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thank you very much for the information. The problem realy drove me crazy. I already feared that this and tried to 'initialize' the variables by assigning them a value (of the proper type) on beforehand. However, this did not work, although it changed the results of the vartype() function ! |
#5
| |||
| |||
|
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |