dbTalk Databases Forums  

Error adding DTSDynamicPropertiesTask task to Tasks collection

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Error adding DTSDynamicPropertiesTask task to Tasks collection in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
El Pedro
 
Posts: n/a

Default Error adding DTSDynamicPropertiesTask task to Tasks collection - 05-04-2005 , 09:11 PM






Folks,

I am trying to add a Dynamic Properties task to a DTS package that is
generated by our VB.net application. I have got around the Assignments
collection problem by installing the hotfix, but now cannot add the resulting
task object to the package's Tasks collection. Using the Add method results
in an access violation exception.

I've tinkered with the code and it is definitely due to trying to add a task
object that was created using "DTSDynamicPropertiesTask" as the ProgID in the
Tasks.New method. I've tried using the corresponding ClsID but this,
unsuprisingly, gives the same result.

Any ideas? Maybe there's a hotfix for the hotfix?

Thanks

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.