Exception:Cannot Start your application.The Workgroup information file is missing or opened exclusiv

Posted by Jeev on ASP.net Weblogs See other posts from ASP.net Weblogs or by Jeev
Published on Tue, 27 Apr 2010 18:50:00 GMT Indexed on 2010/04/27 19:03 UTC
Read the original article Hit count: 678

Filed under:
|
|

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

 

 

© ASP.net Weblogs or respective owner

Related posts about .NET

Related posts about oledb