Solved

DTS package fails to run when scheduled

Posted on 2004-08-31
5
581 Views
Last Modified: 2013-11-30
DTS step 1 runs. Step 2: both DTS and stored runs OK directly, but fail as a scheduled job. Below is the text from the job history details.

Thanks in advance!!!

 DTSRun:  Executing...   DTSRun OnStart:  Create Table Results Step   DTSRun OnStart:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnFinish:  Create Table Results Step   DTSRun OnFinish:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnStart:  Copy Data from Results to Results Step   DTSRun OnStart:  DTSStep_DTSDataPumpTask_1   DTSRun OnError:  DTSStep_DTSDataPumpTask_1, Error = -2146959361 (8007FFFF)      Error string:  Catastrophic failure         Error source:  Microsoft Data Transformation Services (DTS) Package      Help file:  sqldts80.hlp      Help context:  4700      Error Detail Records:      Error:  -2146959361 (8007FFFF); Provider Error:  0 (0)      Error string:  Catastrophic failure         Error source:  Microsoft Data Transformation Services (DTS) Package      Help file:  sqldts80.hlp      Help context:  4700         Error:  -2146959361 (8007FFFF); Provider Error:  0 (0)      Error string:  Catastrophic failure         Error source:  Microsoft Data Transformatio...  Process Exit Code 2.  The step failed.
0
Comment
Question by:janderson131
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 125 total points
ID: 11944921
>>DTS step 1 runs. Step 2: both DTS and stored runs OK directly, but fail as a scheduled job<<
That is because the scheduled job is running on the server and may not have access/permission to the file(s) required.
0
 

Author Comment

by:janderson131
ID: 11945603
thanks. I will give this a try...
0
 
LVL 34

Expert Comment

by:arbert
ID: 11946336
agree with acperkins--it will run in the context of the SQLAgent account....

"Error string:  Catastrophic failure  "


gotta love microsoft--such dramatic error messages lol
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

728 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