July 31, 2012 at 6:43 pm
Hi Experts,
I am trying to schedule a job with ssis package..
The error message is:
SQL Server Execute Package Utility Version 10.50.2500.0 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Argument "LV" for option "connection" is not valid. The command line parameters are invalid. The step failed.
I googled and found something that is, i need to add /decrypt command line
Reference:
My package protection level is EncryptSensitivewithUserkey, is this is the best protection level,
Please suggest me
August 1, 2012 at 12:28 am
The issue is with the /connection property, not with /decrypt. Normally, the package will be decrypted by your user key (as the protection level suggests) so you wouldn't need to add the /decrypt option. However, in SQL Server Agent jobs packages are executed using the SQL Server Agent account, or with a proxy if you specified one.
So you need to change your protection level to EncryptSensitiveWithPassword and add /decrypt with the password (although SQL Server Agent will ask you for the password) or change it to DontSaveSensitive and store your sensitive data in package configurations (last option is preferred by me).
In the SQL Server Agent, don't select the connections in the connections tab, it's not necessary.
Syntax for command line can be found here:
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
August 1, 2012 at 9:42 am
I changed the protection level to EncryptSensitiveWithPassword
Please let me know syntax to "add /decrypt with the password"
Thanks a ton!
August 1, 2012 at 3:32 pm
August 1, 2012 at 11:25 pm
Sqlism (8/1/2012)
I changed the protection level to EncryptSensitiveWithPasswordPlease let me know syntax to "add /decrypt with the password"
Thanks a ton!
As I said before, SQL Agent will ask you for the password. Normally you don't have to edit the command line in a job yourself. Also, I linked to the syntax defination at the bottom of my post.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 6, 2012 at 11:52 pm
If the package is stored on file / folder location you would need to specify it.
CommandLine: /FILE "c:\path to your package\package.dtsx" /DECRYPT password
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply