Solved

Scheduled Task not running properly...

Posted on 2002-07-03
5
131 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now