Solved

Run dtsx file as different user

Posted on 2013-11-08
2
351 Views
Last Modified: 2014-02-09
I've created some dtsx files, but now another user needs to run them.  When the other user tries to run the file, they get errors. I'm assuming I need to alter the connection string to include their credentials, but I am not sure how. Here is the connection string that is currently in the file:
 DTS:ConnectionString="Data Source=(local);Initial Catalog=MWSDGO;Provider=SQLNCLI11;Integrated Security=SSPI;Auto Translate=false;" />

Am I on the right track with this? How do I include the new user's creds?  Thanks.
0
Comment
Question by:thedeal56
[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 32

Accepted Solution

by:
bhess1 earned 500 total points
ID: 39634761
If these are files on disk, then you need to check how the data is secured in the .dtsx file.  By default, if you save the file to disk from the studio that comes with SQL Server, the secured data is encrypted based on who the person saving the file is.  Other users cannot use these files.  There are other ways to secure these files - password, certificate, etc - but you must explicitly choose these methods when you save the files.

When you save them to the SQL Server itself, you have the option of letting the server's security handle this protection.  In this case, any login with the proper permissions can either run the package, or export the source code to a file with proper permissions for their login to open.

You also have the option of saving things like the connection strings in a resource file, and loading them at runtime, This generates additional security risks (those resource files can be pulled apart into plain text), but allows a package to be run by anyone who can get to the file on disk.

Note that you can save the file to disk without any security, but the normally secured data will be stripped from the package in that case, which is not incredibly useful normally.

TLDR: check the way you save the files to disk (assumption: you are saving them to disk) and adjust accordingly.
0
 

Author Comment

by:thedeal56
ID: 39634833
That makes sense.  Is there any way to convert a saved file into being stored on the server, or will i just need to remake them?
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

740 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