dbTalk Databases Forums  

DTS Package Runs, but Scheduled Job fails

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


Discuss DTS Package Runs, but Scheduled Job fails in the microsoft.public.sqlserver.dts forum.



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

Default DTS Package Runs, but Scheduled Job fails - 08-05-2005 , 12:10 PM






Good Afternoon Everyone:

I have a DTS Package that completes successfully when executed on the
server as the SQL Service Account, but when it is scheduled it fails.
Here are the details:

Error Message:
DTSStep_DTSCreateProcessTask_1 DTSRun OnError:
DTSStep_DTSCreateProcessTask_1, Error = -2147220330 (80040496)
Error string: CreateProcessTask 'DTSTask_DTSCreateProcessTask_1':
Process returned code -1, which does not match the specified
SuccessRetu... Process Exit Code 1. The step failed.

Execute Process Task:
Execute process task calls a .bat file located at
\\ServerName\Share\task.bat. The .bat file calls another program and
passes some parameters ("C:\Program Files\IBM\QMF for
Windows\qmfwin.exe" /ISERVER:SERVERNAME /IPROCNAME:PROCNAME
/IUSERID:UserID /IPASSWORD:Password /batch). This connects to a DB2
database and runs a procedure that then opens a query and outputs a csv
file onto C:\Share\file.txt.

I have checked permissions on all folders and am using the UNC instead
of drive mappings. Any and all help is appreciated.

Regards,

Donna Robbins


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

Default Re: DTS Package Runs, but Scheduled Job fails - 08-06-2005 , 03:28 AM






Invariably when a package works OK at design time for the developer and
fails at runtime when scheduled it can be pinned down and fixed by reading
this article.

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

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Donna" <dzlvs2bike (AT) comcast (DOT) net> wrote

Quote:
Good Afternoon Everyone:

I have a DTS Package that completes successfully when executed on the
server as the SQL Service Account, but when it is scheduled it fails.
Here are the details:

Error Message:
DTSStep_DTSCreateProcessTask_1 DTSRun OnError:
DTSStep_DTSCreateProcessTask_1, Error = -2147220330 (80040496)
Error string: CreateProcessTask 'DTSTask_DTSCreateProcessTask_1':
Process returned code -1, which does not match the specified
SuccessRetu... Process Exit Code 1. The step failed.

Execute Process Task:
Execute process task calls a .bat file located at
\\ServerName\Share\task.bat. The .bat file calls another program and
passes some parameters ("C:\Program Files\IBM\QMF for
Windows\qmfwin.exe" /ISERVER:SERVERNAME /IPROCNAME:PROCNAME
/IUSERID:UserID /IPASSWORD:Password /batch). This connects to a DB2
database and runs a procedure that then opens a query and outputs a csv
file onto C:\Share\file.txt.

I have checked permissions on all folders and am using the UNC instead
of drive mappings. Any and all help is appreciated.

Regards,

Donna Robbins




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.