![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please don't redirect me to KB269074. I've read it and either I am missing something vital, or my problem really isn't covered by it! I have a simple DTS package: a single execute process command that tries to launch MS Access.Exe so that it can in-turn open a DB automatically, run some code then shut itself down. The DTS command is: Win32 Process: C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE Parameters: c:\test.mdb This works great when run manually. If I try to schedule it, it fails. I have tried changing the Scheduled Job Owner. I am running a stand-alone laptop with Windows XP Home Edition and a Developers Edition of SQL Server 2000 with SP3. Why won't it run as scheduled? It starts and then just waits saying it is executing step 1, but nothing actually happens. I can cancel the job, and in either case no error messages are output anywhere. I have tried letting it run automatically via a schedule and have triggered it manually from Enterprise Manager. Help! |
#3
| |||
| |||
|
|
Please don't redirect me to KB269074. I've read it and either I am missing something vital, or my problem really isn't covered by it! I have a simple DTS package: a single execute process command that tries to launch MS Access.Exe so that it can in-turn open a DB automatically, run some code then shut itself down. The DTS command is: Win32 Process: C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE Parameters: c:\test.mdb This works great when run manually. If I try to schedule it, it fails. I have tried changing the Scheduled Job Owner. I am running a stand-alone laptop with Windows XP Home Edition and a Developers Edition of SQL Server 2000 with SP3. Why won't it run as scheduled? It starts and then just waits saying it is executing step 1, but nothing actually happens. I can cancel the job, and in either case no error messages are output anywhere. I have tried letting it run automatically via a schedule and have triggered it manually from Enterprise Manager. Help! |
#4
| |||
| |||
|
|
The fact that it hangs makes me think it is waiting for user input. SQL Agent does not support applications that have a UI. Try setting the SQL Agent service to allow interaction with the desktop. I would expect you to see some UI or error dialog. Any application that raises a UI for errors is "not supported", as it will cause a hang scenario in the case of a problem. Darren "Andy A38a" <Andy A38a (AT) discussions (DOT) microsoft.com> wrote in message news:3517265C-028B-4CE1-99CE-789F223F9846 (AT) microsoft (DOT) com... Please don't redirect me to KB269074. I've read it and either I am missing something vital, or my problem really isn't covered by it! I have a simple DTS package: a single execute process command that tries to launch MS Access.Exe so that it can in-turn open a DB automatically, run some code then shut itself down. The DTS command is: Win32 Process: C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE Parameters: c:\test.mdb This works great when run manually. If I try to schedule it, it fails. I have tried changing the Scheduled Job Owner. I am running a stand-alone laptop with Windows XP Home Edition and a Developers Edition of SQL Server 2000 with SP3. Why won't it run as scheduled? It starts and then just waits saying it is executing step 1, but nothing actually happens. I can cancel the job, and in either case no error messages are output anywhere. I have tried letting it run automatically via a schedule and have triggered it manually from Enterprise Manager. Help! |
#5
| |||
| |||
|
|
The fact that it hangs makes me think it is waiting for user input. SQL Agent does not support applications that have a UI. Try setting the SQL Agent service to allow interaction with the desktop. I would expect you to see some UI or error dialog. Any application that raises a UI for errors is "not supported", as it will cause a hang scenario in the case of a problem. Darren "Andy A38a" <Andy A38a (AT) discussions (DOT) microsoft.com> wrote in message news:3517265C-028B-4CE1-99CE-789F223F9846 (AT) microsoft (DOT) com... Please don't redirect me to KB269074. I've read it and either I am missing something vital, or my problem really isn't covered by it! I have a simple DTS package: a single execute process command that tries to launch MS Access.Exe so that it can in-turn open a DB automatically, run some code then shut itself down. The DTS command is: Win32 Process: C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE Parameters: c:\test.mdb This works great when run manually. If I try to schedule it, it fails. I have tried changing the Scheduled Job Owner. I am running a stand-alone laptop with Windows XP Home Edition and a Developers Edition of SQL Server 2000 with SP3. Why won't it run as scheduled? It starts and then just waits saying it is executing step 1, but nothing actually happens. I can cancel the job, and in either case no error messages are output anywhere. I have tried letting it run automatically via a schedule and have triggered it manually from Enterprise Manager. Help! |
![]() |
| Thread Tools | |
| Display Modes | |
| |