Advertisement

12.18.2007 at 05:25AM PST, ID: 23030475
[x]
Attachment Details

SSIS: Execute process task using GPG works in Debug, not in an Agent Job.

Asked by priehl in MS SQL DTS

Tags: ssis, process, arguments, gpg

OK...before you guys say anthing, I've got a Proxy that runs the package as the exact same user I use when I log in.  So I don't think it's a permissions issue, That being said...

In my Execute Process Taks Editor you'd see the following values.

Executable:
C:\Program Files\GNU\GnuPG2\gpg.exe
Arguments:
--passphrase-fd 0 --decrypt-files FILETOBEDECRYPTED
Standard Input Variable:
(a variable containing my passphrase)

The success Value is set to 2 because the originator doesn't sign the file before they send it...(I think)
The Problem w/ doing this is just rolls right past w/ out decrypting anything.

Everything works great when I run the script in a command window, and when i run it in Visual Studio,  however, when it's run in a SQL Agent Job it just doesn't do anything.  The log progresses as if it worked, but nothing is being done.  

Is there a better way to debug this?

Thanks in advance.Start Free Trial
[+][-]12.18.2007 at 05:44AM PST, ID: 20491940

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.19.2007 at 04:13AM PST, ID: 20498904

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.19.2007 at 04:41AM PST, ID: 20499058

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.03.2008 at 06:26AM PST, ID: 20573003

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL DTS
Tags: ssis, process, arguments, gpg
Sign Up Now!
Solution Provided By: priehl
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628