DTS Packages fail when executed from Jobs



I am having trouble executing a DTS package from a SQL Job. It works OK for a
while but then starts failing with the following error message:

Executed as user: domain\SQLSvcAccount. DTSRun: Cannot create COM Server to
load and execute DTS Package. Error -2147221008 (800401F0): CoInitialize
has not been called. Process Exit Code -2147221008. The step failed.

To correct this I need to restart the SQL services.

I can run the DTS Package directly using Enterprise Manager from my PC and I
can also using the DTSRUN.exe command to execute the package from my PC using
the exact command line that the SQL job is using. This works OK, even when
the jobs are failing.

Can anyway shed any light on this and come up with a solution?

In brief, my setup is SQL 2000 with SP3 running on Windows Server 2003.

Thanks
Matt

.



Relevant Pages

  • Re: Priviledges problem with "execute master..xp_logevent&q
    ... proxy account - not the owner of the job. ... >If I execute the DTS package from Enterprise Manager using a SQL ... >If I create a SQL job from the DTS package and run that sql job using ...
    (microsoft.public.sqlserver.dts)
  • Re: DTS & Jobs
    ... > Does anyone know how to EXECUTE a DTS package from a SQL Job. ...
    (microsoft.public.sqlserver.programming)
  • Priviledges problem with "execute master..xp_logevent&q
    ... Here is what I experienced when trying to get the logging into SQL ... If I execute the DTS package from Enterprise Manager using a SQL ... If I create a SQL job from the DTS package and run that sql job using ...
    (microsoft.public.sqlserver.dts)
  • DTS & Jobs
    ... Does anyone know how to EXECUTE a DTS package from a SQL Job. ...
    (microsoft.public.sqlserver.programming)
  • Re: DTS and stored procedure
    ... The DTS package can be stored in the Microsoft® SQL ... > Displays the command prompt options. ... > of the command used to execute the DTS package because the server name, ... Specify server_name to ...
    (microsoft.public.sqlserver.dts)