Solved

SSIS running a scheduled job with the protection level set to EncryptSensitiveWithPassword

Posted on 2009-07-08
2
747 Views
Last Modified: 2013-11-10
Hi Folks,
 
I am trying to schedule the execution of a package through sql agent. The package call child packages that are falling over because the protection level of the child package is set to EncryptSensitiveWithPassword.

I believe you can pass the password through dtexec but that is not a desirable solution because I would need to hardcode the password in the job. Also I would need to setup a xp_cmdshell proxy for the user I am running the job as to run dtexec or make
that user sysadmin which I am not keen on either.

I have given a tip that I could use a package template  -  (see http://support.microsoft.com/kb/918760 method 5)
does anyone know if this would help my situation and what exactly to do (a pointer to some doco would be fab)

0
Comment
Question by:david_32
2 Comments
 
LVL 5

Expert Comment

by:jbyers79
ID: 24817891
Can the child packages be set to use Windows Authentication?  That way you won't be using encrypted credentials embedded in the packages.  The SQL Agent service account must have permissions on the data sources that the packages access.
0
 

Accepted Solution

by:
david_32 earned 0 total points
ID: 24820290
I think I found that answer. By using commandline tab in the step for the integration services job you can specify a /DEC <password> parameter.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

760 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

18 Experts available now in Live!

Get 1:1 Help Now