Accessing secured database problem urgent help nedded please? 
Author Message
 Accessing secured database problem urgent help nedded please?

Hello,

I have got following annoying problem:

When attempting to access a secured MS Access database (workgroup file is
set with the workgroup administrator etc...) using following code:

DbEngine.SystemDB = msSystemDB
Set mWS = DBEngine.CreateWorkspace ("nameofmdwfile",
"myloginname","mypassword")

Results always in:

Runtime error 3028 Can't start you application: The workgroup information
file is missing or opened exclusively by another user.

Workgroup file is in place.
Workgroup file is registered in the registery as it should be
Workgroup file nor database is opened/in use by someone else (stand-alone
machine) even not by myself.

When trying to access the database with a fake password or username it gives
the good result that access was denied due to wrong username or password.
When trying to access it with right username-password it get the runtime
error 3028

Opening the database in Access using logon-password works fine

What is wrong? What should I check or try?

PS it is a MS Access 97 database
using VB 5 Pro on a NT 4 machine

Any help or tips are welcome
Thanx in advance!

Nicolas



Wed, 23 Oct 2002 03:00:00 GMT  
 Accessing secured database problem urgent help nedded please?
I had a similar (perhaps identical) problem recently. Microsoft could not
solve it, but I found that simply setting a string variable equal to
DBEngine.SystemDB
(strWorkgroupInformationFile = DBEngine.SystemDB)
seems to refresh the DBEngine.SystemDB property.

Larry Calame



Quote:
> Hello,

> I have got following annoying problem:

> When attempting to access a secured MS Access database (workgroup file is
> set with the workgroup administrator etc...) using following code:

> DbEngine.SystemDB = msSystemDB
> Set mWS = DBEngine.CreateWorkspace ("nameofmdwfile",
> "myloginname","mypassword")

> Results always in:

> Runtime error 3028 Can't start you application: The workgroup information
> file is missing or opened exclusively by another user.

> Workgroup file is in place.
> Workgroup file is registered in the registery as it should be
> Workgroup file nor database is opened/in use by someone else (stand-alone
> machine) even not by myself.

> When trying to access the database with a fake password or username it
gives
> the good result that access was denied due to wrong username or password.
> When trying to access it with right username-password it get the runtime
> error 3028

> Opening the database in Access using logon-password works fine

> What is wrong? What should I check or try?

> PS it is a MS Access 97 database
> using VB 5 Pro on a NT 4 machine

> Any help or tips are welcome
> Thanx in advance!

> Nicolas




Thu, 24 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Accessing secured Access database - Help please

2. Help: Connect to a secure Access 7 database problem

3. Help: Connect to a secure Access 7 database problem

4. HELP: Problem with secure Access 97 Database and VB 5

5. HELP: Problem with secure Access 97 database and VB 5.0

6. NEWBIE, URGENT:Please Help : Importing TabDelim txt file into Access Database

7. Help: MSRDC - how to access a secure Access database

8. Help : Accessing a secure access 2.0 database from VB4.0

9. Excel to Access problem - PLEASE HELP --- URGENT!

10. Excel to Access problem - PLEASE HELP --- URGENT!

11. Problem: Crystal 5 and Access 8 secured database

12. Problems with secured Access database

 

 
Powered by phpBB® Forum Software