dbTalk Databases Forums  

SQL Agent Schedule Problem

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SQL Agent Schedule Problem in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bonnie
 
Posts: n/a

Default SQL Agent Schedule Problem - 09-09-2003 , 08:51 AM






I got the following error when my scheduled DTS task run by SQL Agent in Server.
But this package runs fine manually in my workstation via Enterprise Manager.
Anyone know why ?

DTSRun: Loading... DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSExecuteSQLTask_2
DTSRun OnError: DTSStep_DTSExecuteSQLTask_2, 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_DTSExecuteSQLTask_2
DTSRun: Package execution complete.
Process Exit Code 1. The step failed



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SQL Agent Schedule Problem - 09-09-2003 , 08:55 AM






The error appears to be in this step

DTSStep_DTSExecuteSQLTask_2

Here is a good article which usually solves this type of problem

http://support.microsoft.com/?kbid=269074

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Bonnie" <bonnie (AT) sina (DOT) com> wrote

Quote:
I got the following error when my scheduled DTS task run by SQL Agent in
Server.
But this package runs fine manually in my workstation via Enterprise
Manager.
Anyone know why ?

DTSRun: Loading... DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSExecuteSQLTask_2
DTSRun OnError: DTSStep_DTSExecuteSQLTask_2, 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_DTSExecuteSQLTask_2
DTSRun: Package execution complete.
Process Exit Code 1. The step failed





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.