Link to home
Start Free TrialLog in
Avatar of jjrr007
jjrr007

asked on

Run Full Encryption SSIS package as Job

I have fully encrypted an SSIS package.  It runs just fine on my computer when I enter a password.  How do I run the package as a job?  I think that I'll need to send the password to the SSIS package before it can run automatically.  
Avatar of nmcdermaid
nmcdermaid

When you create a SSIS job, it forces you to enter the password.


You'll find that the job cmd line will use the /DE parameter with DTEXEC

You can also use DTEXECUI to specify all of you package parameters, including the password, and let it build the command line for you, if you just want to run it from a batch file.
Avatar of jjrr007

ASKER

Could you please post here an example of how to do this?  I'm not sure how to structure this exactly.  Thanks.
If you have a package, saved to the file system:

Open Management studio, connect to the database engine
Open out SQL Server Agent, right click on Jobs and press New Job
Click on Steps, press New to add a new step
Pick a step of type 'SQL Server Integration Services Package'
Now you've got a whole load of options below to fill in, including the path to the file. You'll be asked to enter the package password also.

Avatar of jjrr007

ASKER

Thanks. I wasn't very clear on my last post.

I was meaning to ask, how do I structure the command line to run the job with the password?  I'm not quite clear on how to put the password in the command line.  
ASKER CERTIFIED SOLUTION
Avatar of nmcdermaid
nmcdermaid

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jjrr007

ASKER

Thanks for your time.