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