Solved

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

Posted on 2009-07-08
2
752 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

In this article I will describe the Copy Database Wizard 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.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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 setup several different housekeeping processes for a SQL Server.

772 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