adolf garlic


create a package with a connection manager

reference the manager with a bunch of tasks

change the name of the manager

stand back in disbelief as you receive the following message

Error: 0xC004800B at Data Flow Task, DTS.Pipeline: Cannot find the connection manager with ID "SourceConnectionExcel" in the connection manager collection due to error code 0xC0010009. That connection manager is needed by "runtime connection "OleDbConnection" (8)" in the connection manager collection of "component "Source - 'DCD MANUAL$'" (1)". Verify that a connection manager in the connection manager collection, Connections, has been created with that ID.

SSIS SSUX





Re: bug: name change of connection manager is not propogated through package

Phil Brammer


What version of SSIS are you using RTM SP1 SP2

I rename connection managers all of the time and never have a problem. SP1 and SP2 depending on which machine I'm on.







Re: bug: name change of connection manager is not propogated through package

adolf garlic

Microsoft SQL Server Management Studio 9.00.3042.00
Microsoft Analysis Services Client Tools 2005.090.3042.00
Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158)
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 6.0.2900.2180
Microsoft .NET Framework 2.0.50727.42
Operating System 5.1.2600

Microsoft SQL Server Integration Services Designer
Version 9.00.3042.00







Re: bug: name change of connection manager is not propogated through package

Bob Bojanic - MSFT

You probably generated your package using the Import/Export wizard. The wizard use to reference connection managers in sources and destinations using the names instead of IDs. That would work better if you copy both componets and connections to another package but breaks when you try to rename connection managers.

The problem should be easy to correct: just open the component UI and select the connection again. Feel free to open a bug on the connect site as well.

Thanks,

Bob






Re: bug: name change of connection manager is not propogated through package

Bartron2

Bob,

It is true that I can get the connection managers to work, but everytime Iopen the project I get several errors saying the old connection magagers can not be connected. I think I have tried everything to get these errors to go away including:

Renaming, reselecting, deleting and readding, deleting-shuting down app-deleting connection manager lines from XMLfile-readding-reconnecting. I still get the errors. The only fix I have found is to create new packages, add the connection managers, change their names, copy the execution objects from the previous package and set the connections.

BTW: I am using

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: IDE Standard

Microsoft Visual Studio 2005 Premier Partner Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Premier Partner Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.3042.00

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.3042.00

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.3042.00

Bartron





Re: bug: name change of connection manager is not propogated through package

Bob Bojanic - MSFT

You just need to open the OLE DB Source, select your renamed connection and click OK. Have you tried that

-Bob