Solved

Scheduled Task not running properly...

Posted on 2002-07-03
5
133 Views
Last Modified: 2010-04-13
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?
0
Comment
Question by:treyjeff
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:mikecr
ID: 7127667
If you run the task yourself without using Task Scheduler, does it run successfully?
0
 
LVL 1

Author Comment

by:treyjeff
ID: 7127693
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."
0
 
LVL 17

Accepted Solution

by:
mikecr earned 100 total points
ID: 7127729
The log is pretty remedial, however, if you go to the log in Task Scheduler does it have information in it as to the process bombing? Try setting the process to run as the local system account and see if it runs the whole way thru.
0
 
LVL 1

Author Comment

by:treyjeff
ID: 7127777
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.
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7127902
No problem. Glad I could help. Good luck!
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question