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

Transfer logins task not allowing me to build the loginslist from variable

$
0
0

SSIS running on SQL Server 2008 R2 sp2. I'm trying to build a transfer logins task, but I don't want ALL the logins from server A on server B. As I intend to "next" transfer databases (which won't transfer the users until the login exists), I want to transfer only the logins that this db has users for. As such, I built a foreach container, that enumerates the users existing on the db, and writes to a package variable. The thought being, within the loop, I would create the logins of the same name as the users that exist for the db. Unfortunately, when I build the expression to pull the variable (which should only be one value within the loop) value into the loginslist, I get an error that the expression was evaluated, but cannot be set on the property. I must be doing something wrong, as I can't imagine that this field truly can't be populated from a variable, or the expression builder would not allow me to select "loginslist" as a property to set.

The intent would be, look at a db, get the list (one at a time if I must) of users for that db, then transfer the login of the same name to the new server.

Any help?

mpleaf


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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