Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 DTS and C# .exe error in Execute Process Task

Author  Topic 

ashishnaik1
Starting Member

5 Posts

Posted - 2005-03-04 : 09:50:50
Hi,
I'm getting some funny error. I've developed a c# (console application) code - .exe - and Using DTS (SQL 2000) Execute Process Task to run the .exe.
I run the process every month. Now when I run the process, I get following error; "CreateProcessTask 'DTSTask_DTSCreateProcessTask_2': Process returned code -532459699, which does not match the specified SuccessReturnCode of 0.

But when I open the Exectue Process Task (task where I'm calling c# .exe code) and go in property and give the Win32Process location again (even I've not changed any code or any location) and Save the package, it runs fine.

I've some C++ .exe code also in the DTS package and that code also I'm calling with other Execute process task, but it runs fine.

Any ideas about this error??

Thanks in advance.
   

- Advertisement -