I have converted a package script to vb6 to vb.net and it compiles fine. But when I go to run it I get this error. I have checked the site and they stated that I need to upgrade SQL Server with service pack 2. Well mine is upgraded with service pack 3 and its still happening. I have read forum posts with the same problem and they get the similar error when their sql server has SP2 applied. I'm yet to find a solution to this problem - so do you know the answer??
Error I get:
An unhandled exception of type 'System.InvalidCastException' occurred in create DTS Package creater.exe
Additional information: QueryInterface for interface DTS.CustomTask failed.
Error I get:
An unhandled exception of type 'System.InvalidCastException' occurred in create DTS Package creater.exe
Additional information: QueryInterface for interface DTS.CustomTask failed.