I have a vbscript which does the following:
- Open an access 2003 database
- Run a subroutine to populate the tables in the database
- Close the database
- Run a batch file which uploads the database to an ftp
This vbscript is set up to run as a scheduled task in windows XP. When I manually run the script, everything works perfectly. If I have my computer locked when the scheduled task runs, it also works perfectly. However, if I log out, the task seems to hang up. When I log back in after the task is supposed to run, I find that msaccess.exe is still running in the task manager. Furthermore, there is a lock file on the database that will not go away until I kill the msaccess.exe. I am sure that the credentials I set the task up with are correct since the task obviously starts to run. I see no errors in any of the event logs.
Any ideas?