azrakdragon
asked on
Encrypt DTS command line (SQL)
I need to find a way to encrypt the DTS command line.
We already have a whole lot of packages with the cmd run command
dtsrun ....blah blah which are being launched via SQL Scheduler.
Is there an easy way to encrypt this command line so that the password etc are not exposed.
Using DTSRUNUI is not viable or at least it doesn't seem that way because you encrypt the DTS package but it doesn't allow for a username and password to be entered?
I need help on how I can get my command lines encrypted
Thanks
Kathy
We already have a whole lot of packages with the cmd run command
dtsrun ....blah blah which are being launched via SQL Scheduler.
Is there an easy way to encrypt this command line so that the password etc are not exposed.
Using DTSRUNUI is not viable or at least it doesn't seem that way because you encrypt the DTS package but it doesn't allow for a username and password to be entered?
I need help on how I can get my command lines encrypted
Thanks
Kathy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
based on requirement please check your mannuals and above links..
best of luck..
R.K
best of luck..
R.K
ASKER
I had a look at the articles and my manuals and they tell me nothing.
However I managed to figure out how to run this.
However now I am getting the following error.
DTSRun: Invalid hex text for encrypted parameter.
This was from the encrypted command generated using the !Y switch
What I did notice using the encrypt switch vs sing the DTSRUNUI to encrypt, the encrypted command generated by the switch was much shorter than the DTSRUNUI - every time I generated it and it doesn't work ever.
The command used by the DTSRunUI works but I am not sure if it includes the password entered
i.e. if you enter the password to connect to the SQL server at the first screen, is this the one it uses to run the package??
However I managed to figure out how to run this.
However now I am getting the following error.
DTSRun: Invalid hex text for encrypted parameter.
This was from the encrypted command generated using the !Y switch
What I did notice using the encrypt switch vs sing the DTSRUNUI to encrypt, the encrypted command generated by the switch was much shorter than the DTSRUNUI - every time I generated it and it doesn't work ever.
The command used by the DTSRunUI works but I am not sure if it includes the password entered
i.e. if you enter the password to connect to the SQL server at the first screen, is this the one it uses to run the package??
ASKER
Thanks a mil