Unable to connect to a password protected Access database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,

I am trying to connect to a password protected Access database using:

Public connString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" & pathDB & ";User Id=admin;Password=Test;"

as a connection string. When I try to connect to the database I receive an
error message saying that the workgroup information file is missing or
exclusively opened by another user.

Do I have to use a workgroup information file? Can I just use the User ID
and Password to connect to the database?

Thank you,
 
Back
Top