all groups > sql server dts > march 2006 >
You're in the

sql server dts

group:

Keeping object selection when changing login


Keeping object selection when changing login ksteilbe
3/29/2006 10:23:02 AM
sql server dts:
When I modify the server connection to change the login ID when I transfer a
DTS package to a different server, the tables I selected for copy on the
original package get de-selected. How can I preserve the object selection
when changing a connection login? This is in SQL Server 2000. Thanks for
any help!
--
RE: Keeping object selection when changing login ksteilbe
3/29/2006 12:09:02 PM
I should add that the login is a SQL Server-authenticated ID. The problem
happens whether I change the ID to another SQL ID or to Windows
authentication.
--
Karen


[quoted text, click to view]
Re: Keeping object selection when changing login Tomer Shoval
3/29/2006 5:08:32 PM
you should use disconnected edit to change the user id.

right click somewhere in the package, when no object is in focus, and
click disconnected edit.

look under connections for the connection you wish to change, or under
tasks for the task you wish to change.
you can change the password too.

if i'm not mistaken, to switch to sql authentication you have to change
the flags property value from 256 to 0.
Re: Keeping object selection when changing login ksteilbe
3/30/2006 6:48:02 AM
Using disconnected edit allowed me to change the user ID, but when I saved
the package the object selection disappeared again.
Where do I find the flags property and how do I change it?

Thanks,
--
Karen


[quoted text, click to view]
Re: Keeping object selection when changing login Tomer Shoval
3/31/2006 1:44:11 PM
i'm sorry. the flags property is from another task.
in the "Copy SQL Server Objects" task, it's DestUseTrustedConnection
and SourceUseTrustedConnection.
for SQL Server login, set it to 0

i just tried it, and it didn't forget my object selection.
AddThis Social Bookmark Button