Cannot execute DTS package via dtsrun or dtsrunui

Posted on 2006-03-31
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'...

Question by:afking8268
    1 Comment
    LVL 10

    Accepted Solution

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


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    In this article—a derivative of my blog post (—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
    Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
    Via a live example, show how to setup several different housekeeping processes for a SQL Server.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now