Link to home
Start Free TrialLog in
Avatar of afking8268
afking8268Flag for United States of America

asked on

Cannot execute DTS package via dtsrun or dtsrunui

Hi guys,

I have a DTS package which uses a 'OLE DB provider for visual fox pro' connection to the source DB then uses a 'OLE DB provider for sql driver' to the destination DB.  This package runs with no issues when I execute it from my enterprise manager, however when I execute from sql analyzer or directly from the command prompt the package fails with this error:  'Error string:  Invalid class string'. I have googled and gone to the MS site for help with no luck and I'm hoping someone here has seen this issue before.  The package is actually executing because the prep command to delete data from the destination table runs, however the final steps seem to fail.
The following is the command I am using:
exec master.dbo.xp_cmdshell 'dtsrun -S (local) -E -N Docdatal'

Within the package all connections to the sql server use 'windows authentication'...

Thanks
ASKER CERTIFIED SOLUTION
Avatar of AaronAbend
AaronAbend
Flag of United States of America 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