DTS Package conversion VB6 to VB.NET

Jan 27 2004 3:06 AM
I am getting the follwing error at the time of executing the task System.InvalidCastException has ocurred at XXXXXX.exe Specifically in the code at: oCustomTask1 = oTask.CustomTask QueryInterface for interface DTS.CustomTask failed