Search code examples
ssisjobs

gpg.exe is not decrypting file in the ssis package after creating a job


I have inserted an execute process task in the control flow of the SSIS package which gets encrypted files from a folder and decrypts file using the gpg.exe. I have passed the key as well as passphrase in to the expression of the execute process task. while running the package directly it executes successfully and also decrypts the file. But, when i create a job in the sql server 2005 of that package and execute the job, it shows successfully executed but neither of the file is being converted.

Any suggestion what's going wrong or any other security issues is existing in the job. I have spent good amount of time on googling over it but could not found solution.


Solution

  • Finally i found the solution, There is no error in the package or job. It was only a security issue which was not allowing to execute a job containing executable file. What i did that i have added the current user detail in sql server configuration manager>>SQL server agent. Instead of Built in account check the This account and enter the current account detail.