?
Solved

Scheduled Task not running properly...

Posted on 2002-07-03
5
Medium Priority
?
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 300 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
Introducing Priority Question, our latest feature.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

777 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