Run MDB as Scheduled Task Problems

S

Scott Duncan

Hello,

We have developed a number of applications (Access 2003 & WinXP Pro) that
run fine without problems.

When we set-up a Windows Scheduled Task to run the application at a specific
time we get the error code "This Action will reset the Current Code in Break
Mode". The Application typically will freeze up and we have to use Task
Manager to force it down.

We can then immediately launch the application normally and it will run
fine.

This is happening with two (2) different applications that are not similar
which leads us to believe that it does have something to do with Scheduled
Task.

Any thoughts or recommendations would be greatly appreciated.

TIA,

SD
 
W

Wolfgang Kais

Hello Scott.

Scott said:
We have developed a number of applications (Access 2003 & WinXP Pro)
that run fine without problems.

When we set-up a Windows Scheduled Task to run the application at a
specific time we get the error code "This Action will reset the Current
Code in Break Mode". The Application typically will freeze up and we
have to use Task Manager to force it down.

We can then immediately launch the application normally and it will
run fine.

This is happening with two (2) different applications that are not
similar which leads us to believe that it does have something to
do with Scheduled Task.

What user context is the scheduled task run in?
Does that account (maybe the LocalSystem account) have access to all files
needed (back-end database files)?
 
S

Scott Duncan

Wolfgang,

This is run from an account that has Administrative privileges. I am going
back thru how the Scheduled Task is set up... We originally just went to the
'Customer Service.mdb'. Now we are testing with "C:\Program Files\Microsoft
Office\OFFICE11\MSAccess.exe" "C:\My Documents\Customer Service.mdb" /excl
as if it was a command line launch.

Thank you,

SD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top