Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Run Full Encryption SSIS package as Job

Posted on 2007-12-03
6
Medium Priority
?
800 Views
Last Modified: 2010-04-21
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.  
0
Comment
Question by:jjrr007
  • 3
  • 3
6 Comments
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 20400815
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.
0
 
LVL 1

Author Comment

by:jjrr007
ID: 20406303
Could you please post here an example of how to do this?  I'm not sure how to structure this exactly.  Thanks.
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 20407339
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.

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:jjrr007
ID: 20421380
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.  
0
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 2000 total points
ID: 20424351
1. Go to a command line
2. Type DTExecUI
3. Fill in the blanks
4. Go to the Command Line section

There's your command line, including /DE. You just need to put DTEXEC in front of it

i.e.

DTEXEC /FILE [YourPacakgePath] /DE[YourPassword]
0
 
LVL 1

Author Closing Comment

by:jjrr007
ID: 31412504
Thanks for your time.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

971 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