Tuesday, May 15, 2012

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

I ran into this issue while trying to connect a password protected Microsoft Access database.
here was my connection string
string conString =@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="Test.mdb";User Id=Admin;Password=123";

i resolved it by using Jet OLEDB:Database Password instead of Password and removing UserId
 like
string conString =@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="Test.mdb";Jet OLEDB:Database Password=123";

No comments:

Post a Comment