Groups | Blog | Home
all groups > sql server dts > november 2003 >

sql server dts : Cannot run DTS Package as a scheduled job


Paul Leone
11/21/2003 9:29:55 AM
I have a simple DTS package that executes a VB program
that I have created. If i manually launch the DTS
package, it works with no problems. After I schedule the
job, it does not run - it looks like it starts, but it
stops before the exe is completed. It does the same thing
if i click on the scheduled jon and hit start.

I know it works, because it runs when i manually execute
the package. I am running the job from the server logged
on as domain admin, so please do not point me in the
direction of microsoft's knowledgebase article:
http://support.microsoft.com/?kbid=269074

Paul Leone
11/21/2003 3:03:25 PM
This must be it - It has a user interface. What would
constitute an interface? The program doesnt need any user
interaction, but it does use a rich text box control. The
program loads a text file and parses through it with the
rich text box and then logs info to a db - If I made the
richtextbox disabled and turned off the form, would it
work, or do i need to come up with a diff method? Thank
you very much for your help!! This was driving me crazy...

[quoted text, click to view]
Darren Green
11/21/2003 9:43:22 PM
In article <072b01c3b055$145b43a0$a001280a@phx.gbl>, Paul Leone
<anonymous@discussions.microsoft.com> writes
[quoted text, click to view]

Is the SQL Server Agent service set to run under the same domain admin
account as you have used on the server? If not your test is invalid, so
try that first.

Make sure the VB exe has no UI components in as SQL Server Agent does
not support this.

Does the VB app handle errors? Does the VB app log errors? The answers
should be yes. If not then you need to rectify this in order to diagnose
the problem.

Check the package error log and job step output log for any errors.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Darren Green
11/24/2003 11:59:17 AM
In article <031201c3b083$ab2467c0$a501280a@phx.gbl>, Paul Leone
<anonymous@discussions.microsoft.com> writes
[quoted text, click to view]

If the program displays a form then this will probably cause a problem.
Can you not find an alternative to the rich text box control? Any errors
or messages boxes should be avoided as well as there is nobody to press
OK. I have found errors to be the biggest problem for me.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

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