|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:42 PM
Points: 193,
Visits: 773
|
|
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: http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/638f8dea-c2fc-4bae-ae77-058066c9fedb
My package protection level is EncryptSensitivewithUserkey, is this is the best protection level,
Please suggest me
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Today @ 1:01 PM
Points: 9,367,
Visits: 6,463
|
|
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: dtexec Utility (SSIS Tool)
How to post forum questions. Need an answer? No, you need a question. What’s the deal with Excel & SSIS?
Member of LinkedIn. My blog at LessThanDot.
 MCSA SQL Server 2012 - MCSE Business Intelligence
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:42 PM
Points: 193,
Visits: 773
|
|
I changed the protection level to EncryptSensitiveWithPassword
Please let me know syntax to "add /decrypt with the password"
Thanks a ton!
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, April 03, 2013 6:56 PM
Points: 2,118,
Visits: 731
|
|
If my memory is working I believe if you use dtexecui.exe you can choose all the options and the tool will provide the correct command line syntax to cut and past into your agent job.
[url=http://msdn.microsoft.com/en-us/library/ms138023(v=sql.100)][/url]
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Today @ 1:01 PM
Points: 9,367,
Visits: 6,463
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Yesterday @ 3:11 AM
Points: 1,
Visits: 32
|
|
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
|
|
|
|