EncryptSensitiveWithPassword in SSIS not prompting for a pasword

  • I have 2 SSIS Packages. Both of them are set for EncryptSensitiveWithPassword. One of them prompts for the password when opening the package in ssis or importing it to Integration Services. This allows me to pass a password when running the package from a command line.

    I have set the same EncryptSensitiveWithPassword setting in the second package but it will not prompt me for a password. This is preventing me from executing the package using a command line.

    My question is, β€œWhen using EncryptSensitiveWithPassword how do I force the package to always prompt for the password?”

    Thanks for any help.

  • Hi Darren

    Have you tried to change the security first back to default run it and reset it back again and check if it works...

    also keep different passwords for each package

    not sure if they help but a thought any way

    gud luk

  • Thanks Vani_r14

    I changed the security level back to EncryprSensitiveWithUserKey saved the package then changed it back to EncryptSensitiveWithPassword "But did not enter the password" then made a change and saved the package. This caused the package to error while doing the save and force me to enter the password.

    The package now prompts me for a password and works as it should.

    Thanks agian

    Darren

  • Hei

    Gr8 it worked .... YAY πŸ™‚ πŸ™‚

    cheers

    Vani

  • Is there a reason why you didn't use SQL Security and let that control the execution of your package?

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply