x
login about faq Site discussion (meta-askssc)

Decrypt DTSX file

Hi there,

Please can anyone advise whether it is possible to decrypt a passworded SSIS dtsx package? We've inherited a package from someone else, but have never been provided with the password, so unable to save any amendments. We need to amend the ftp details so that the data moves to a different location.

Many thanks, Christina

more ▼

asked Jul 31 '12 at 02:27 PM in Default

csconstantinou gravatar image

csconstantinou
20 1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

If you have the package scheduled as a part of a SQL job you can pull the password from the job step execution. Just look for /DECRYPT in the string from the following SQL statement. This is the package password stored in plain text.

SELECT  sjs.command
FROM    msdb.dbo.sysjobs sj
        INNER JOIN  msdb.dbo.sysjobsteps sjs ON sj.job_id = sjs.job_id
WHERE   sj.name = <your job NAME>
more ▼

answered Jul 31 '12 at 03:39 PM

SirSQL gravatar image

SirSQL
4.6k 1 3

Worked an absolute charm, thank you!

Aug 01 '12 at 06:44 AM csconstantinou
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1601

asked: Jul 31 '12 at 02:27 PM

Seen: 225 times

Last Updated: Aug 01 '12 at 10:08 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.