Link to home
Start Free TrialLog in
Avatar of metsey
metsey

asked on

Error running dtexec in 32 bit on sql2005 x64 from stored proc

I am receiving the following error when i am trying to run an SSIS package in 32 bit mode from a stored procedure in sql 2005:

'C:\Program' is not recognized as an internal or operable program or batch file

I know its something stupid..but i can't figure it out...here is the code:

exec master..xp_cmdshell '"C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTExec.exe" /F "C:\One2OneUS\SSISPackages\SQL01One2OneUSToGenLookup.dtsx"'

Any help would be greatly appreciated...

Regards
Mark
Avatar of randy_knight
randy_knight

try using C:\Progra~1 insead of the long name.  The space between Program and Files is likely your issue.
ASKER CERTIFIED SOLUTION
Avatar of Mark Wills
Mark Wills
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oh, and that was a copy and save, not a rename...
Avatar of metsey

ASKER

Thank you sir
A pleasure, and thanks for the "Thank You" always enjoy hearing those two words :)