We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Cannot execute DTS package via dtsrun or dtsrunui

afking8268
afking8268 asked
on
Medium Priority
378 Views
Last Modified: 2007-12-19
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
Comment
Watch Question

This is a guess, but you might have to reregister your Foxpro OLEDB provider... find the dll and unregister and reregister it using regsvr32.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.