PC Review


Reply
Thread Tools Rate Thread

2 user level passwords and a system password still can't run avbscript

 
 
JRough
Guest
Posts: n/a
 
      1st Jun 2009
I have a security issue and it involves a vbscript where I'm trying
to automate compacting a database. I have the script which looks like
it should run but I get password errors. I thought it might be
because the vbscript needs the database password to run automatically
so I set a database password. In that case the script brings up the
user level password/login dialogue which I don't want because I want
it automated whereas it should take the database password and proceed
automatically? I enter the developer user level password that I have
and it says error not a valid account and password for the vbscript.


line of vbscript with database password:
objAccess.DBEngine.CompactDatabase strPathToMDB, strTempDB,
";pwd=Kiyote#3"

so then I just unset the password thinking it will accept the
developer login and password which is seems to be asking for but in
this case I get the error message "not a valid login and password". I
also try this with the other admin password.
objAccess.DBEngine.CompactDatabase strPathToMDB, strTempDB

So my conclusion is that I have to give the priveledge to run the
vbscript to the system password somehow?
There are only 2 user level passwords known to me. The user does not
remember anything else.
One is admin and the other is developer. The developer password has
the ability to change all objects except the database object. The
admin user has access to all objects except in database object "modify
design".

There appears something wrong with the fact I can't use the system
database password to run the script and that it brings up the user
level password dialogue?

thanks,
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure db with one password and no user-level? Angela Microsoft Access Security 1 25th Aug 2009 06:37 PM
User credential management – system level vs. application level Tony Brown Windows XP Embedded 3 3rd Apr 2008 03:31 PM
Login and passwords in a database w/o using user level security marn826 via AccessMonster.com Microsoft Access Reports 2 3rd Mar 2006 02:41 PM
User Level Password Aurora Microsoft Access Security 8 4th Nov 2003 05:33 PM
Need to bypass the admin-level password for user-level security TJ Microsoft Access Security 1 8th Sep 2003 12:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 PM.