access database lock file not being updated correctly

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

Guest

I am running a DB on a share drive with a few users having access. This DB
is not split but does have user accounts. I have recently noticed that the
lock file doesn't have correct or current information. Sometimes when I open
the file in notepad, it will show me as logged in multiple times or will show
users as logged in who I have seen close the application. Other times it
will clear correctly. A few times the database will be locked an hour after
I closed the application after using it in exclusive mode. Another admin for
another similar DB has told me that he has been getting messages (which I had
gotten a while back that suddenly stopped) regarding "MYSYSDB" or "SYSDB" or
something to that affect errors. Assistance would be appreciated.
 
I ALWAYS split the database and giving each user a front end file.
I believe this is the best way to avoid problems. It has never been
necessary for me to study the contents of the lock file.
 
Tiger said:
I am running a DB on a share drive with a few users having access.
This DB is not split but does have user accounts. I have recently
noticed that the lock file doesn't have correct or current
information. Sometimes when I open the file in notepad, it will show
me as logged in multiple times or will show users as logged in who I
have seen close the application. Other times it will clear
correctly. A few times the database will be locked an hour after I
closed the application after using it in exclusive mode. Another
admin for another similar DB has told me that he has been getting
messages (which I had gotten a while back that suddenly stopped)
regarding "MYSYSDB" or "SYSDB" or something to that affect errors.
Assistance would be appreciated.

First I suggest splitting your database. Splitting eliminates all kinds
of odd problems.

Second make sure everyone has access to delete files in the directory
where the file is located and that they don't just turn their machine off
before properly exiting Access.
 
Tiger Heli said:
I am running a DB on a share drive with a few users having access. This DB
is not split but does have user accounts.

As others have stated you should split the MDB.

I have recently noticed that the
lock file doesn't have correct or current information. Sometimes when I open
the file in notepad, it will show me as logged in multiple times or will show
users as logged in who I have seen close the application. Other times it
will clear correctly.

This is normal. Opening the .ldb file using notepad will show you
both who's currently in the database and some of the workstations
which were in the database. When a person exits Access their
workstation name and Access login id, Admin unless you are using
Access security, are left in a "slot" or record in the ldb file. This
slot or record may get overwritten the next time someone enters the
MDB depending on what slot or record is available previous to it in
the ldb file.

Determining the workstation which caused the Microsoft Access MDB
corruption
http://www.granite.ab.ca/access/corruption/workstation.htm
A few times the database will be locked an hour after
I closed the application after using it in exclusive mode.

What do you mean by locked? The ldb file is still around? You can
rename it?

Another admin for
another similar DB has told me that he has been getting messages (which I had
gotten a while back that suddenly stopped) regarding "MYSYSDB" or "SYSDB" or
something to that affect errors.

Now this is a sign of corruption.

For more information on corruption including possible causes,
determining the offending PC, retrieving your data, links, official MS
KB articles and a list of vendors who state they can fix corruption
see the Microsoft Access Corruption FAQ at
http://www.granite.ab.ca/access/corruptmdbs.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

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