Solved

Scheduled Task not running properly...

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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…
Determining the an SCCM package name from the Package ID
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 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