Problem with DTS Schedule

Posted on 2003-03-24
Medium Priority
Last Modified: 2013-11-30
I have created 2 jobs in DTS which run fine,
But when i schedule them to run they error
with this log.

Executed as user: ORION\SYSTEM. DTSRun:  Loading...   DTSRun:  Executing...   DTSRun OnStart:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnError:  DTSStep_DTSExecuteSQLTask_1, Error = -2147217833 (80040E57)      Error string:  The statement has been terminated.      Error source:  Microsoft OLE DB Provider for SQL Server      Help file:        Help context:  0      Error Detail Records:      Error:  -2147217833 (80040E57); Provider Error:  3621 (E25)      Error string:        Error source:        Help file:        Help context:  0         Error:  -2147217833 (80040E57); Provider Error:  8115 (1FB3)      Error string:        Error source:        Help file:        Help context:  0      DTSRun OnFinish:  DTSStep_DTSExecuteSQLTask_1   DTSRun:  Package execution complete.  Process Exit Code 1.  The step failed.

Any ideas ?
Question by:dark22
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
LVL 23

Accepted Solution

adathelad earned 50 total points
ID: 8195312
If it runs fine when you execute it manually, but fails when scheduled, this could be down to permissions. Make sure the SQL Agent account has sufficient permissions to do everything it needs to do. When you run it manually it uses your account permissions, but when scheduled it uses the SQL Agent account.
LVL 34

Expert Comment

ID: 8195495
Take a look at this--it has a little blurb in it about package owner and how the permissions work:



Author Comment

ID: 8201470
I've checked the permissions and there fine.

Maybe i'm going about this the wrong way (i've only been using SQL server for 2 weeks)

I need to produce a sales report on our intranet every 10 minutes, The data is on an informix db and if i run the querys on there its very slow.

So i've used DTS to grab the data every 10 minutes and put it in an SQL db which works fine.

so my DTS says:-

From watt_custom
WHERE apptdate = GETDATE()

select *
from watt_custom
where appt_date = today

Which all works fine when i run it but errors when i schedule it.

Is there a better way of doing this???

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

752 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