Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Package not able to set password variable from Cmd Prompt through "/Set" (FTP Task)

$
0
0
Hi ,

I have an SSIS package where I am FTPing stuff through "FTP Task" control , and theFTP Connection manager password will be dynamically set through a "Script Task" control. Now I am trying to pass the password dynamically (for Dev/UAT/Prod) from the command line through the below dos command using the "/Set" switch

dtexec /f "C:\....\Pris_CDR.dtsx" /De "xxxxx"  /conf "C:\....\PRIS_Config.dtsConfig"  /SET  \Package.Variables[User::FTP_Password.Value];"PasswordBeingPassed"

Howvere , I am getting an error for the FTP Connection Manager that "The Password was not allowed". This leads me to believe that the password I am passing is not overwriting the SSIS variable , as I have tested individually with this password , and the FTP connection happens without any issue. I am not sure what to make out of it , and how to dynamically set the variable (which in turn will become the password for FTP connection) . My SSIS package has a package password (say xxxx) , and the password setting is "WithUserEncryption..".

Please help.





Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>