Solved

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

Posted on 2012-03-27
2
435 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 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

717 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