Unable to connect to a password protected Access database

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top