Solved

Run Full Encryption SSIS package as Job

Posted on 2007-12-03
6
779 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

808 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