HELP: ADO Connection String - User Level Security... 
Author Message
 HELP: ADO Connection String - User Level Security...

PLEASE, PLEASE HELP................

I have a database which I now require security....  (Logon using User Level
Security)...

I've gone through the process following the wizard instructions....
I have now found that the problem is a MODULE containing an ADO connection.

Could someone please point me in the right direction

Database = C:\Database\aar\aardata.mdb
Workgroup =  C:\Database\aar\wd-aar.mdw
I've created an account in the workgroup for the connection (do i need
o?)  - User = ADOCon  Password = ADOCon
----------------------------------------------------------------------------
--
My original connection string was as follows:

connection.ConnectionString = "provider=microsoft.jet.oledb.4.0;data
source=" & CurrentProject.FullName
connection.Open

With the above connection I get the "You do not have the necessary
permissions to use the.... *.mdb object...."
----------------------------------------------------------------------------
---
I modified my module to read:

connection.Open "provider=microsoft.jet.oledb.4.0;data source=" &
CurrentProject.FullName & "Jet OLE DB:System Database =
C:\Database\aar\wd-aar.mdw", "ADO.Con", "ADO.Con"

I get "Cannot start your application.  the Workgroup information file is
missing or opened exclusively by another user"....
----------------------------------------------------------------------------
----
I've also tried the following to have the workgroup but no password....

connection.Open "provider=microsoft.jet.oledb.4.0;data source=" &
CurrentProject.FullName & "Jet OLE DB:System Database =
C:\Database\aar\wd-aar.mdw"

Error:  "Not a valid file name"
----------------------------------------------------------------------------
----

Any advice greatly appreciated.

Brian



Fri, 06 Feb 2004 05:14:31 GMT  
 HELP: ADO Connection String - User Level Security...


Fri, 19 Jun 1992 00:00:00 GMT  
 HELP: ADO Connection String - User Level Security...
Check out this link:
http://www.able-consulting.com/ADO_Conn.htm

HTH,
Bob Barrows


Quote:
> PLEASE, PLEASE HELP................

> I have a database which I now require security....  (Logon using User
Level
> Security)...

> I've gone through the process following the wizard instructions....
> I have now found that the problem is a MODULE containing an ADO
connection.

> Could someone please point me in the right direction

> Database = C:\Database\aar\aardata.mdb
> Workgroup =  C:\Database\aar\wd-aar.mdw
> I've created an account in the workgroup for the connection (do i need
> o?)  - User = ADOCon  Password = ADOCon
> --------------------------------------------------------------------------
--
> --
> My original connection string was as follows:

> connection.ConnectionString = "provider=microsoft.jet.oledb.4.0;data
> source=" & CurrentProject.FullName
> connection.Open

> With the above connection I get the "You do not have the necessary
> permissions to use the.... *.mdb object...."
> --------------------------------------------------------------------------
--
> ---
> I modified my module to read:

> connection.Open "provider=microsoft.jet.oledb.4.0;data source=" &
> CurrentProject.FullName & "Jet OLE DB:System Database =
> C:\Database\aar\wd-aar.mdw", "ADO.Con", "ADO.Con"

> I get "Cannot start your application.  the Workgroup information file is
> missing or opened exclusively by another user"....
> --------------------------------------------------------------------------
--
> ----
> I've also tried the following to have the workgroup but no password....

> connection.Open "provider=microsoft.jet.oledb.4.0;data source=" &
> CurrentProject.FullName & "Jet OLE DB:System Database =
> C:\Database\aar\wd-aar.mdw"

> Error:  "Not a valid file name"
> --------------------------------------------------------------------------
--
> ----



Fri, 06 Feb 2004 07:31:42 GMT  
 HELP: ADO Connection String - User Level Security...


Fri, 19 Jun 1992 00:00:00 GMT  
 HELP: ADO Connection String - User Level Security...
Maybe this KB article can help:

http://support.microsoft.com/support/kb/articles/Q191/7/54.ASP



Sat, 07 Feb 2004 14:51:12 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. VB6, ADO, and writing to an Access 2000 db with user level security

2. Access User Level Security HELP!!

3. OpenDataSource name argument and user-level security

4. User-level security & OpenDataSource name argument

5. Security - User Level

6. User-Level Security problem

7. VB5, Crystal 4.6.1 -User Level Security password

8. Crystal and User Level Security passwords

9. Opening an Access file with the User Level security feature

10. Stucked on client's machine in user level security

11. User Level security Novice

12. Access - User-Level Security?

 

 
Powered by phpBB® Forum Software