Hello,
I am using DTS in .NET on windows XP and am getting an error at the
statement "oCustomTask1 = oTask.CustomTask". The code snippet is as below :
Dim oTask as DTS.Task
Dim oCustomTask1 as DTS.BulkInsertTask
oTask = goPackage.Tasks.New("DTSBulkInsertTask")
oTask.Name = "DTSTask_DTSBulkInsertTask_1"
oCustomTask1 = oTask.CustomTask ---- THIS THROWS AN ERROR
"QueryInterface for interface DTS.CustomTask failed"
Could someone tell me how to solve the problem?
Thanks,
Rajesh