.NET Bits

.NET tidbits

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

 

 

Posted: Apr 27 2010, 02:50 PM by Jeev | with 16 comment(s)
Filed under: , ,

Comments

Twitter Trackbacks for Exception:Cannot Start your application.The Workgroup information file is missing or opened exclusively by another user - .NET Bits [asp.net] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Exception:Cannot Start your application.The Workgroup information file is missing or opened exclusively by another user - .NET Bits         [asp.net]        on Topsy.com

# April 29, 2010 6:12 AM

Michael said:

Thanks! I ran into that error and it solved my problem.

# July 22, 2010 5:18 PM

Joyce said:

Thank a lot it help so much

# August 6, 2010 10:03 PM

Danny Crossley said:

Thanks. It solved my problem too.

# August 25, 2010 5:54 AM

Leomar said:

Thanks man!! You saved me some hour figuring out.

# August 27, 2010 5:56 AM

Ferdie said:

Yes. It helped! Thanks.

# January 6, 2011 4:25 AM

Pedja said:

I have found number of solutions that do not work. this is the only solution that worked.

Thanks!!

# April 5, 2011 6:38 AM

Swapnaja said:

It solved my problem too

# April 6, 2011 5:44 AM

Chrisas said:

It solved mine too. Thanks!

# April 13, 2011 5:08 PM

Amar said:

thanks jeev... it worked :)

# April 15, 2011 5:39 AM

Bilal said:

Thanks this was very helpfull

# April 18, 2011 12:56 PM

MadanKishore said:

Dear Friend,

I wrote a code for connecting to Oracle database.

Code Snippet:

connection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;UserID=***;password=*********; database=litelocn;")

connection.Open()

But it is showing error as mentioned in above title.

I tried to add database and done many thing.

But it is not working.

Please suggest me what to do..

# April 20, 2011 12:15 AM

mr said:

Jet OLEDB:Database Password=password";

# April 25, 2011 3:24 PM

Kain said:

Awesome!!!!! thanks' a lot, is perfect.

# May 5, 2011 11:43 PM

Ismail. MC said:

Thanks a lot....

I searched a lot for the solution for this problem till i found this article....

Simple and working solution

Thanks..

# May 30, 2011 1:31 AM

David said:

After searching many blogs I found this and it works great!  Many thanks.

# June 3, 2011 3:35 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)