Error referencing 'DTSStep_DTSExecuteSQLTask_10' Task
From: uzoma (uzoma_at_discussions.microsoft.com)
Date: 06/22/04
- Next message: John Peterson: "Re: DTS bug (?): Data Driven Query Task incorrectly replaces empty strings with NULL."
- Previous message: uzoma: "Re: How to do this from DTS?"
- Next in thread: Allan Mitchell: "Re: Error referencing 'DTSStep_DTSExecuteSQLTask_10' Task"
- Reply: Allan Mitchell: "Re: Error referencing 'DTSStep_DTSExecuteSQLTask_10' Task"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Jun 2004 11:08:01 -0700
Hi -
I'm using ActiveX script to load a ExecuteSQL task. Code is as follows:
Dim oPkg, oDataPump
Set oPkg = DTSGlobalVariables.Parent
Set oDataPump = oPkg.Tasks("DTSStep_DTSExecuteSQLTask_10").CustomTask
oDataPump.SQLStatement = del_qry
Set oDataPump = Nothing
Set oPkg = Nothing
Main = DTSTaskExecResult_Success
I get this error: (Microsoft Data Transformation Services (DTS) Package Task 'DTSStep_DTSExecuteSQLTask_10' was not found) even though I looked up the right name by going to Workflow properties and then options.
I'm doing this on a SQL7 box.
Do you know what else I can do to resolve this error?
Appreciate any help!
Thanks
Uzoma
- Next message: John Peterson: "Re: DTS bug (?): Data Driven Query Task incorrectly replaces empty strings with NULL."
- Previous message: uzoma: "Re: How to do this from DTS?"
- Next in thread: Allan Mitchell: "Re: Error referencing 'DTSStep_DTSExecuteSQLTask_10' Task"
- Reply: Allan Mitchell: "Re: Error referencing 'DTSStep_DTSExecuteSQLTask_10' Task"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|