Solved

Run Full Encryption SSIS package as Job

Posted on 2007-12-03
6
764 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 1

Author Comment

by:jjrr007
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
Thanks for your time.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

743 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

16 Experts available now in Live!

Get 1:1 Help Now