Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

The error I get is:

"Cannot start your application. The workgroup information file is missing or opened exclusively by another user"

Can anyone help?

Posted

Try to use a connection string similar with this:

 

Provider=MSDASQL.1;Password=password;Persist Security Info=True;Extended Properties="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\Test.mdb;

Posted

enter ur Jet OLEDB:Database Password

 

when u r using access u need to set up ur "Jet OLEDB:Database Password" - this is not the first pass asked in the conn string.

 

i think that will fix it, make a new connection named conn1 and copy this:

 

only change ur_db_path ( ex : c:\temp\my.mdb)

and fill_in_ur_pass! (ex : gimmemoney)

 

everything that is in " - has to be in double "" - if u set up the parameters by string

 

 

conn1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=ur_db_path=Share Deny None;Extended Properties="""";" _

& "Jet OLEDB:System database="""";Jet OLEDB:Registry Path="""";Jet OLEDB:Database Password=""fill_in_ur_pass!"";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1"

 

i hope that works peet

Posted

peet, it works great.

Where are you,I want to buy you a drink?

I tried the exact same string only with the single quotes.

You saved me a lot of trouble

thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...