Can't get a database to run from a CD

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've copied a database to a CD/r and when I click on it to run from the CD it won't open and says it "could not lock file". And won't open. I can copy the database to my hard drive and it runs fine, but I want it to run from the CD
Thanks
 
If you run Access, it create a .ldb file to lock Access. If you want
to run the database from a cd, it's not possible because the CD is
read only. It can not create the .ldb file to a CD.
 
Susan said:
I've copied a database to a CD/r and when I click on it to run from
the CD it won't open and says it "could not lock file". And won't
open. I can copy the database to my hard drive and it runs fine, but
I want it to run from the CD. Thanks

It's trying to create a ldb file in the same dir as the mdb and can't do
that on a CD because it's read-only.
There's bound to be a solution to your problem - I'll be interested to hear
the answer from a pro.
 
Damien McBain said:
It's trying to create a ldb file in the same dir as the mdb and can't do
that on a CD because it's read-only.
There's bound to be a solution to your problem - I'll be interested to hear
the answer from a pro.

If you open the database as read-only and exclusive (both options can be set
as command-line parameters in a shortcut), Access doesn't try to create the
locking file. You will get a warning message that the database is being
opened as read-only that I've never found a way to suppress.
 
Back
Top