Solved

How to use a specific domain account in an SSIS connection object

Posted on 2012-03-27
2
421 Views
Last Modified: 2012-03-28
I have an SSIS 2008 server that runs all my SSIS packages in a domain. Let's call this domain SSIS.net. I need to connect to the OLTP SQL server instances on OLTP.com. The sys admins of the OLTP.com domain do not want to create a SQL account for me, then want me to use a domain account to connect to the OLTP instances on OLTP.com, and to make life even funner, there is no trust between the domains.

When I run the SSIS package it is running under the SQL agent account named "sqlAgent@ssis.net". What I would like to do, is write a custom connection string for the connection objects that need to talk to OLTP.com. How do I use integrated authentication in an SSIS connection object so when the package attempts the specific step to OLTP.com it uses the domain account for OLTP.com?

Thanks in advance!
0
Comment
Question by:sqlagent007
2 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 37775452
Not sure what the impact of the missing trust will be, but perhaps the following is worth giving a try?

Data Source=THE_SERVER;Initial Catalog=THE_DB;Provider=SQLNCLI10.1;User ID=DOMAIN\USER;Password=*****;

(adapt all values to your specific situation)

THE_SERVER can be in the form of "IP address,port number", for instance 1.1.1.1,1433

(ref. http://www.connectionstrings.com/sql-server-2008)
0
 
LVL 1

Author Closing Comment

by:sqlagent007
ID: 37776725
Thanks!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question