Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS Execute Process Task Problems

Status
Not open for further replies.

01310564

Programmer
Oct 9, 2003
96
GB
Hi,

I have a DTS Package with about 20 or so steps. The third from last step is an Execute Process Task which tries to run a VB application of mine. When I run the task through Enterprise Manager on the server it works fine but when i scedule the job it just hangs. When i look at task manager my vb application is there but it's processing time just sit's on 0. I have also tried to run it through an active script like this.

Set oShell = CreateObject ("WSCript.shell")
oShell.run "C:\Program Files\Caudwell\test.exe",1,true

But this has the same effect.


Does anyone have any ideas?

By the way i using SQL 7 with the latest service pack.

Cheers,

Hugh
 
Oh, the joy of SQL Agent... NOT! ;-) At any rate, I've run into the same situation, where a VB program just won't run directly from the scheduler. Try creating a command file (.bat) that just runs the program. That's always done the trick for me. I've never been able to figure out what causes this situation, but the .bat file usually fixes it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top