dancatalin


Help ... i'm lost

I have one custom dataflow component in assembly A with version 1.1.0.0 used in many packages.

The component is now in assembly A with version 1.2.0.0 but not changed.

There is aniway to have those packaged configured in order to automaticaly be upgrated to use the new version of the component

I tried (in this order):

- set the property "UpdateObjects" to true on package (while version 1.1.0.0 was available in GAC) and saved package.

- unistalled the version 1.1.0.0 from GAC.

- tried to reopen package with "Reload and Upgrade" option.

NO SUCCESS

I know that can be an brute way to do it, meaning replace as text in xml ... but i try to find a solution not this stupid "workaround"

Many thanx for any suggestions!

Catalin

PS: Excuse my english.




Re: Can i set somehow the package to have the components automaticaly updated?

DarrenSQLIS


If you change the assembly version, then you have changed the strong name, which is what SSIS stores as its reference, hence it cannot find it. You can change the XML as you mention, or use a publisher policy which allows you to redirect in effect to the new assembly.

My prefererred method is however to not change the assembly version, because hacking the XML is not really sustainable, and having to install something extra for the redirect just seems messy in the types of scenarios we work in for SSIS.

Personally I use an AsemblyFileVersion to track my versions, even down to build level. I use the DtsPipelineComponentAttribute.CurrentVersion property to track functional changes that may require an upgrade. This is built into the SSIS framework, so is easier I find.

A previous thread that may help also - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=560603&SiteID=1