Sunday, March 11, 2012

Cannot create a task with the name .....

I don't know if anyone is interested, but I was just struggling over an issue with a custom SSIS Control Flow Task and found that all referenced objects also have to be in the GAC to be able to create the custom object in the ssis designer. I guess that makes sense, but I searched all over for any reference to this error, and couldn't find anything. Hopes this sense for someone else!

Great point well made. BOL does make a nod to this here: http://msdn2.microsoft.com/en-us/library/ms403356.aspx

-Jamie

|||Thanks for the reply, and the inclusion of the article that I've had bookmarked and permanently burned into my desktop for the last week :-). Good point as well, and only to further clarify, I'm not talking about the assembly that IS the custom object, but one that is Consumed by the Custom Object. Yeah you don't get very far, if the Custom Task you're creating itself isn't in there, but all other objects need to be there too.

My specific purpose was to use a free object (that I've disassembled and etherealed) to create a custom FTP object that replaces the built in FTP object. I needed access to Passive mode that works, or at least one that works with the FTP server I have to connect to.

Anyway, its been a great lesson for me. I've totally just hacked through by replubming the object, and since have had to work through delegates, and will probably have to takle some threading. Thanks for the samples, the process would have been much harder without them!

No comments:

Post a Comment