G
Guest
Hi
I am trying to connect to a password protected access file from VB.NET.
I have no problem in connecting to Access, if I remove the password.
This is what I am doing:
In the server explorer, I choose "Add a connection"
Choose "Microsoft Jet 4.0 OLEDB Provider" in the provider tab
Selected the access file in the next tab
Left Username as Admin and typed the password.
Now when I try to test connection, I am getting this error message:
"Test connection failed becaues of an error in initializing provider. Cannot
start your application. The workgroup information file is missing or opened
exclusively by another user".
I am 100% sure, the password is correct, the file is not opened by any one.
I also created a workgroup information file and saved it under the same
folder that the access db is in.
If I remove the access password, I am able to connect. After creating the
data connection, I protected the access file with password. Now when I try to
refresh the data connection from Server Explorer, I am getting a popup form,
that asks for password and PROVIDER STRING. I am not sure what the Provider
stirng is, so I am always getting the above mentioned error message.
I would really appreciate if some one could help me out.
Thanks
Karthik
I am trying to connect to a password protected access file from VB.NET.
I have no problem in connecting to Access, if I remove the password.
This is what I am doing:
In the server explorer, I choose "Add a connection"
Choose "Microsoft Jet 4.0 OLEDB Provider" in the provider tab
Selected the access file in the next tab
Left Username as Admin and typed the password.
Now when I try to test connection, I am getting this error message:
"Test connection failed becaues of an error in initializing provider. Cannot
start your application. The workgroup information file is missing or opened
exclusively by another user".
I am 100% sure, the password is correct, the file is not opened by any one.
I also created a workgroup information file and saved it under the same
folder that the access db is in.
If I remove the access password, I am able to connect. After creating the
data connection, I protected the access file with password. Now when I try to
refresh the data connection from Server Explorer, I am getting a popup form,
that asks for password and PROVIDER STRING. I am not sure what the Provider
stirng is, so I am always getting the above mentioned error message.
I would really appreciate if some one could help me out.
Thanks
Karthik