Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this article I will describe the Detach & Attach 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.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now