Link to home
Start Free TrialLog in
Avatar of dark22
dark22

asked on

Problem with DTS Schedule

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 ?
ASKER CERTIFIED SOLUTION
Avatar of adathelad
adathelad
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arbert
arbert

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

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dtssql/dts_pkgmng_sec_09dl.asp



Brett
Avatar of dark22

ASKER

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:-

Delete
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???