How do I open access database with no lock?

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

Guest

I am developing an Access database for use over the internet. When I try to
open the database locally, on the server, it locks out the internet account
totally, and causes a script error that says, "Error Type: Microsoft JET
Database Engine (0x80004005) Could not use ''; file already in use." When I
close Access and refresh the web page, the error goes away. I have already
set the default open mode to Shared, the default record locking to edited
record, but that does not help. Am I not going to be able to do this with
Access 2002?
 
"Andrew `Taersious` Coppock" <Andrew `Taersious`
(e-mail address removed)> wrote in message
I am developing an Access database for use over the internet. When I try to
open the database locally, on the server, it locks out the internet account
totally, and causes a script error that says, "Error Type: Microsoft JET
Database Engine (0x80004005) Could not use ''; file already in use." When I
close Access and refresh the web page, the error goes away. I have already
set the default open mode to Shared, the default record locking to edited
record, but that does not help. Am I not going to be able to do this with
Access 2002?

I think the problem has to do with the permissions in the folder where your
Access database is stored. Specifically, the account that the webserver runs
under (usually IUSR_ServerName for IIS) needs to have full permissions in
that folder. What's happening is the webserver is unable to create/modify
the record locking (.LDB) file for the database. I'm guessing that if two
users of your website were in there simultaneously one of them would have
the same error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top