November 12, 2007 at 6:44 am
Hi, everyone
We have a problem with one of our DTS package.
It was created some years ago, and it developer had left company even before I came.
The package has password and nobody remembers it including that developer(we contacted him).
if anybody has an idea how wee can open this package please help!
Thanks
November 12, 2007 at 7:29 am
don't think it can be done (short of editing a backup of msdb with a hex editor). may try opening ticket with MS PSS team.
November 12, 2007 at 8:54 am
Thanks
November 14, 2007 at 5:05 pm
Is anything still executing the DTS package, such as a SQL Server Agent job?
K. Brian Kelley
@kbriankelley
November 15, 2007 at 7:49 am
Hello, everyone
Checking internet I combine everything and found my own solution
It takes 5 minutes and do not need any script to compile
1. transfer package ownership to my domain account
2. transfer job to my account
3. execute dtsrun DTSRun /~Z0x5...... with switches /!X /!C from my machine
It gave you decrypted line with parameter /M "password"
When I was trying to do this on server it did not give /M parameter, only from my machine
Thanks to everybody for help
November 30, 2007 at 7:07 am
Hi,
I am facing the same problem, can you explain me all the steps in sequence you have done to resolve the issue
November 30, 2007 at 9:03 am
Hi, you need to have admin account to do all of this
I did following steps
1. transfer package ownership to my domain account
use this stored procedure
sp_reassign_dtspackageowner
[@name =] 'name',
[@id =] 'id',
[@newloginname =] 'newloginname'
You can find package id from sysdtspackages table
'newloginname' = your domain account
2. transfer job owner for this dts package to my domain account
3.
execute dtsrun DTSRun /~Z0x5...... with switches /!X /!C
from my machine
Z0x5...... is encrypted line from job step
for this purpose create batch file with lines
DTSRun /~Z0x5B4B.......2D495E /!X /!C
pause
DTSRun /~Z0x5B4B.......2D495E is a full line from the job step
I added pause at the end to read what it tells you
You should see lines
Dtsrun: LOading
dtsrun: Executing
After that you can paste to any notepad
It looks like this
DTSRun /S "ServerName" /N "DtsPackName" /M "password" /E /!X /!C
It gave you decrypted line with parameter /M "password"
Let me know when you done
December 3, 2007 at 7:36 pm
Hi,
Thanks a lot for the details explanation. I have tried your solution and it works. Once again thanks for you prompt reply and the good solution. 🙂
July 13, 2008 at 9:07 am
Thanks for great help....
September 22, 2010 at 1:20 am
I could't stop to say Thank you for gr8 tip.
August 21, 2012 at 12:28 pm
assuming I am running the batch job from my (client) machine do I have to provide all the switches and the information like /S /U /P /N.
I would appreciate if you can please post the exact syntax.
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply