Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Error when loading server names in connection manager dynamically

$
0
0

Hello

I am working on this project to dynamically load server names into the connection manager.

When configuring my Data Flow Task -->OLE DB Source, I have this error (I'm still in design mode):

SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occured. Error code : 0x80004005...

My configuration is as follows:

Connection Managers:

1. Source Data manager (Dynamically load server names)

2. Destination Data Manager (Connection information "hard-coded" with actually server name where my central db repository is located)

SQL Task - Reads server names from my DB Repository into a variable ServerListof type Object.

ForEach loop -

Enumerator-ForEach  ADO Enumerator

Enumeration configuration- ServerList variable

Variable Mappings - Variable ServerName of type String

I confirmed that the ServerList variable was populated with my server names and this information was successfully sent to myServerName variable in the ForEach Loop.

But it seems that the Source Data Manager is not getting the ServerNamevalue to make the connection to the desired server.

Here is a screenshot of my little project:


Any hints on how I could resolve this issue please?

Thank you in advance


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>