INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Updates fail when process runs as system

Updates fail when process runs as system

(OP)
I have a vbscript that updates a couple access tables (just loads records).  When I run it manually, it works fine.  When I run it with an Enterprise scheduling tool, which runs as "system", the updates fail.  Can someone tell me what I need to change?  I'm using MS Access 2007.

Thanks!
Scott

RE: Updates fail when process runs as system

By vbscript, I assume you're talking about an external file, and by "enterprise scheduling tool" I assume you're not talking about Windows Scheduled Tasks.

Given these assumptions, I'd ensure that the SYSTEM id has access to the database file. You should be able to check this via Effective Permissions tab.

Also, I'm assuming you're vbscript opens the db file directly as opposed to connecting via a ODBC connection.

Hope this gets you closer to the solution.

"Nothing is so common-place as the wish to be remarkable."
  --Shakespear

RE: Updates fail when process runs as system

rs,

Sounds like you're sat on the wrong side of the system-admin pen.

Acent has already hinted.
If you are using an Enterprise tool - do you have the correct permissions?

ATB

DarrylleS

Never argue with an idiot, he'll bring you down to his level - then beat you with experience.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close