Exception:Cannot Start your application.The Workgroup information file is missing or opened exclusively by another user

We were getting this error when trying   to connect  to a password protected access file. This is what the connection string looked like

string conString =@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="Path to your access file";User Id=;Password=password";

To fix the issue this is what we did

string conString =@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="Path to your access file";Jet OLEDB:Database Password=password";

 We removed the User id and changed the password to Jet OLEDB:Database Password

Hope this helps someone

 

 

14 Comments

Comments have been disabled for this content.