Link to home
Create AccountLog in
Avatar of ChrisMoreland
ChrisMoreland

asked on

Calling DTSX from File system

I recently upgraded our DTS packages to use SSIS I used to call the DTS packages like this
EXEC master..xp_cmdshell 'DTSRun /S Server /U USER /P PASSWORD /N PACKAGE /A gv_destDB:8=DestinationDB'

I have the packages on the  file system (E:\SSIS\PACKAGES.DTSX) currently how would I do the same thing i did previously but using DTSEXEC and the File system? I have used these packages to import data from some flat files for sometime
ASKER CERTIFIED SOLUTION
Avatar of chapmandew
chapmandew
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of ChrisMoreland
ChrisMoreland

ASKER

I am running EXEC xp_cmdshell'dtexec /FILE "\\Server\SSIS\package1.dtsx"'
however I get the following error -

   Description: Failed to decrypt protected XML node "PassWord" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error.  

This is a SQL 64 bit environment.