?
Solved

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

Posted on 2012-03-27
2
Medium Priority
?
441 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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 set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Suggested Courses

777 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