dbTalk Databases Forums  

DTS Executable Failure

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


Discuss DTS Executable Failure in the microsoft.public.sqlserver.dts forum.



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

Default DTS Executable Failure - 10-15-2003 , 10:48 AM







Hi.



Running a batch job via DTS that calls an .exe. When I start it
manually within DTS it works, when its called from a job it gives the
following error:



Step Error Source: Microsoft Data Transformation Services (DTS) Package

Step Error Description:CreateProcessTask
'DTSTask_DTSCreateProcessTask_2': Process returned code 0, which does
not match the specified SuccessReturnCode of 1.

Step Error code: 80040496

Step Error Help File:sqldts80.hlp

Step Error Help Context ID:4900



The batch file runs no problem on its own, its only when its called via
a job or automatic process within DTS that it fails.



Any suggestions would be welcome


--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Executable Failure - 10-15-2003 , 02:20 PM






In article <3484642.1066232927 (AT) dbforums (DOT) com>, rcmburton
<member44299 (AT) dbforums (DOT) com> writes
Quote:
Hi.


Quote:
Running a batch job via DTS that calls an .exe. When I start it
manually within DTS it works, when its called from a job it gives the
following error:


Quote:
Step Error Source: Microsoft Data Transformation Services (DTS) Package

Step Error Description:CreateProcessTask
'DTSTask_DTSCreateProcessTask_2': Process returned code 0, which does
not match the specified SuccessReturnCode of 1.

Step Error code: 80040496

Step Error Help File:sqldts80.hlp

Step Error Help Context ID:4900


Quote:
The batch file runs no problem on its own, its only when its called via
a job or automatic process within DTS that it fails.


Quote:
Any suggestions would be welcome

The most common issues with scheduled packages are around
permissions due to the execution context and the location of execution-

INF: How to Run a DTS Package as a Scheduled Job
http://support.microsoft.com/?kbid=269074

Support WebCast: Data Transformation Services Package Scheduling - An
Inside Look
http://support.microsoft.com/default...s/webcasts/wc1
02301/wcblurb102301.asp

I would also recommend you turn on logging within the package, either to
and error file or to a SQL Server (SQL 2000 Only) to get as much
information as possible.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.