DTS/Job problem

DTS/Job problem

Post by mkerri.. » Fri, 09 Feb 2001 06:41:24



I am having a problem with a DTS package not running when done as a
scheduled job.  This is a job that has run many times in the past just
fine.  The only thing I changed was, I redid the transformations in the
DTS package, and instead of typing them in, I imported a .vbs file for
each of the transformations.  The source data is Microsoft Access and
the destination is SQL Server.  The DTS package ran OK when I did it
manually, but fails every time when I try to execute the job.  Here is
the error message (there are 11 DataPumpTasks in this package):

DTSRun:  Executing...
DTSRun OnStart:  DTSStep_DTSDataPumpTask_1
DTSRun OnStart:  DTSStep_DTSDataPumpTask_2
DTSRun OnStart:  DTSStep_DTSDataPumpTask_3
DTSRun OnStart:  DTSStep_DTSDataPumpTask_4
DTSRun OnError:  DTSStep_DTSDataPumpTask_1, Error = -2147217887
(80040E21)
Error string:  Errors occurred
Error source:  Microsoft OLE DB Provider for SQL Server
Help file:        Help context:  0
Error Detail Records:      Error:  -2147217887 (80040E21); Provider
Error:  0 (0)
Error string:  Errors occurred
Error source:  Microsoft OLE DB Provider for SQL Server
Help file:        Help context:  0
DTSRun OnFinish:  DTSStep_DTSDataPumpTask_1
DTSRun OnStart:  DTSStep_DTSDataPumpTask_5
DTSRun OnError:  DTSStep_DTSDataPumpTask_5, Error = -2147217887
(80040E21)
Error string:  Errors occurred
Error source:  Microsoft OLE DB Provider for SQL Server
Help file:        Help context:  0
Error Detail Records...  Process Exit Code 11.  The step failed.

Can anyone help me?

Sent via Deja.com
http://www.deja.com/

 
 
 

DTS/Job problem

Post by Euan Garde » Mon, 12 Feb 2001 17:08:18


Did you update the versionid that the schedule is calling?

-Euan


> I am having a problem with a DTS package not running when done as a
> scheduled job.  This is a job that has run many times in the past just
> fine.  The only thing I changed was, I redid the transformations in the
> DTS package, and instead of typing them in, I imported a .vbs file for
> each of the transformations.  The source data is Microsoft Access and
> the destination is SQL Server.  The DTS package ran OK when I did it
> manually, but fails every time when I try to execute the job.  Here is
> the error message (there are 11 DataPumpTasks in this package):

> DTSRun:  Executing...
> DTSRun OnStart:  DTSStep_DTSDataPumpTask_1
> DTSRun OnStart:  DTSStep_DTSDataPumpTask_2
> DTSRun OnStart:  DTSStep_DTSDataPumpTask_3
> DTSRun OnStart:  DTSStep_DTSDataPumpTask_4
> DTSRun OnError:  DTSStep_DTSDataPumpTask_1, Error = -2147217887
> (80040E21)
> Error string:  Errors occurred
> Error source:  Microsoft OLE DB Provider for SQL Server
> Help file:        Help context:  0
> Error Detail Records:      Error:  -2147217887 (80040E21); Provider
> Error:  0 (0)
> Error string:  Errors occurred
> Error source:  Microsoft OLE DB Provider for SQL Server
> Help file:        Help context:  0
> DTSRun OnFinish:  DTSStep_DTSDataPumpTask_1
> DTSRun OnStart:  DTSStep_DTSDataPumpTask_5
> DTSRun OnError:  DTSStep_DTSDataPumpTask_5, Error = -2147217887
> (80040E21)
> Error string:  Errors occurred
> Error source:  Microsoft OLE DB Provider for SQL Server
> Help file:        Help context:  0
> Error Detail Records...  Process Exit Code 11.  The step failed.

> Can anyone help me?

> Sent via Deja.com
> http://www.deja.com/


 
 
 

DTS/Job problem

Post by Chris » Tue, 13 Feb 2001 10:29:22


This is going to sound weird but I just solved this problem on a SQL
server.
I have been running a DTS Package remotely without problems, but as
soon as I try and execute the package as a scheduled job it fails.
Working directy on the server with PCAnywhere I opened the package and
opened and closed all the connections. Then saved and closed the
package. Now the package runs as a job sucessfully on the server.
I know it sounds unlikely but it fixed the problem.
--
Chris
Wellington, NZ

Sent via Deja.com
http://www.deja.com/

 
 
 

1. DTS Job Problem..

I have been executing the jobs ( 2 Jobs, each job consisting of 10 DTS
packages ) for over a year .
Everything appears to work great till two days back.
For the last two days the jobs are failing with the following error message.

DTSRun:  Loading...   DTSRun:  Executing...      Error:  -2147220499
(800403ED); Provider Error:  0 (0)      Error string:  No Steps have been
defined for the transformation Package.      Error source:  Microsoft Data
Transformation Services (DTS) Package      Help file:  sqldts.hlp      Help
context:  700.  Process Exit Code 1.  The step failed.

When i manually execute all these DTS packages step by step ,these  are
fine.
I am using SQL 7 (SP3) on Windows NT SP6.  Any suggestions would be
appreciated.

Thanks
Narahari

2. Tablename qualifiers in Powerbuilder Datawindow

3. DTS/Job problem

4. Object variable or With block variable not set (Trapping SQL errors)

5. Scheduling DTS jobs problem

6. openxml question

7. DTS job problem

8. Store credit card number in db

9. JOBS JOBS JOBS JOBS JOBS JOBS JOBS JOBS JOBS

10. JOBS JOBS JOBS JOBS JOBS JOBS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

11. DTS scheduled job problem

12. DTS scheduled job failing -- not permissions problem!

13. problem with job and multiple DTS