treyjeff
asked on
Scheduled Task not running properly...
On Windows NT I had a scheduled task that would perform some actions and then open up an MS Access database.
The database has an autoexec macro that imports text files into the tables, saves, and then closes the database.
So for the last year and a half, it has run just fine on NT 4 but we've since upgraded to Windows 2000 Advanced Server.
Now, when I open the database normally it works just fine but for some reason, the scheduled task just doesn't want to get past the database stuff.
I have tried opening permisions right up but perhaps I am missing something somewhere?
The database has an autoexec macro that imports text files into the tables, saves, and then closes the database.
So for the last year and a half, it has run just fine on NT 4 but we've since upgraded to Windows 2000 Advanced Server.
Now, when I open the database normally it works just fine but for some reason, the scheduled task just doesn't want to get past the database stuff.
I have tried opening permisions right up but perhaps I am missing something somewhere?
If you run the task yourself without using Task Scheduler, does it run successfully?
ASKER
Yes it does. It's just when running it through task scheduler. And it gets through all the processing scripts, it dies on the last step which is when launching the database.
Then it ends up giving me an error when i try to open any Access dbs:
"Couldn't use 'C:\WINNT\System32\system. mdw'; file already in use."
Then it ends up giving me an error when i try to open any Access dbs:
"Couldn't use 'C:\WINNT\System32\system.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, it wouldn't run under website user but would under admin, I'll have to look into that later but at least for now it works.
No problem. Glad I could help. Good luck!