dbTalk Databases Forums  

CreateProcessTask failing

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


Discuss CreateProcessTask failing in the microsoft.public.sqlserver.dts forum.



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

Default CreateProcessTask failing - 11-03-2003 , 04:12 AM






I have a step (call it RunEXE) in a package (call it
PackageA). RunEXE executes another Package (call it
PackageB) passing two global variables.

PackageB outputs some data to a text file then, using the
CreateProcessTask, calls an executable on another server
within the LAN. The path to the executable is specified
using UNC. The data output is to the same location on the
other server.

Now can this can be working fine one moment and then the
next (quite often the next day) it fails stating that the
executable has returned a result code of 1 rather than 0.

When this happens the executable isn't performing any
function (i.e. the first line of code in the exe creates a
text file and that file doesn't get created - if an error
occurs creating the file then executable returns a result
code of 2 not 1). If I rename the executable I get the
expected error of "file not found".

The only way I've found to get it working again is to open
PackageB, double click on the CreateProcessTask, browse
the executable, click OK and save the Package.

--

The error given in the log is

Step Error Source: Microsoft Data Transformation Services
(DTS) Package Step Error Description:
(1esignerImportCollideableTest) SubStep 'Call
Executable' failed with the following error:
CreateProcessTask 'Call Executable': Process returned code
1, which does not match the specified SuccessReturnCode of
0. Package failed because Step 'Call Executable' failed.
Step Error code: 80040428 Step Error Help
File:sqldts80.hlp Step Error Help Context ID:4900

--

The problem occurs with the package run on the server / on
a client or called by a job.

The package / job / login has sysadmin rights.

sql 2000 sp3, mdac 2.7.

--

Anyone got any ideas here?

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.