An investment in knowledge
pays the best interest.
-Benjamin Franklin
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  

News      User Comments     History     Notify Me

4/18/2014 11:18:20 AM
Database has been placed in a state...
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

textQuestion: Good day, Mr. Richard

I would like to know what tutorial can help me on how to fix this error: "Database has been placed in a state by user 'Admin' on machine 'Machine' that prevents it from being opened or locked." I am using Access 2010, and I get this message when two or more people want to open a shortcut of the database in the network. I really appreciate your response. -Francisco

Answer: Hi Francisco. This is usually caused by one of two problems:

(A) You have the database open in DESIGN mode somewhere. If anybody is making design changes, it locks the database for everyone else. This is almost always the problem.

(B) The other users don't have read and WRITE access to the folder that the database is in. Everyone who needs to use it needs to have read/write access to the shared folder.

To try fixing it:

(1) Make sure EVERYONE is out of the database.

(2) Make a backup copy of your database.

(3) Delete the record locking (LACCDB) file that Access automatically creates. It SHOULD delete it every time you exit the database, but sometimes it gets left around if the database crashes.

(4) Compact & Repair your database.

(5) Check the shared folder settings. Make sure the users have read and WRITE access to the shared folder.

(6) Try logging on to the database on the machine that hosts it (aka The Server). Close the database.

(7) Log on from a DIFFERENT workstation by itself. See if you can get it. Close the database.

(8) Now try multiple workstations and make sure nobody goes into DESIGN mode in anything.

IDEALLY, you should SPLIT your database and force your end-users to use an ACCDE file (encrypted, run-only database with no design capabilities). This should avoid most record-locking problems. I cover the best way to handle this situation in my Access Split Database Security Seminar.

See if that works. If not, let me know.

Permanent Link
Keywords: access tips database has been placed in a state by user admin
Post Reply

Database has been placed in a state Comment from Jim Gray @ 4/21/2014
Just a simple question on adding tables to an already split database.  I do, as you suggested earlier, keep a copy of the database for development on my machine.  If new tables are a part of that development, do you need to resplit the database using the wizard or just use manually place the new tables into the data database?  I did that this weekend and finally got the new tables inserted and the references (UNC pathway)correct but it took me a few iterations to get it right...  Thanks for you help.

Reply from Richard Rost:

I would just add the table to the back-end database, link to it in your development front-end copy, and then distribute that front-end file to your users.
Show Just This Thread        Post Reply

Add Your Comments or Subscribe
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
  Your Name:  Required
  Your Email:  NOT Public


Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 3+1:
  Notify me when the News is updated.
  Remember Me for my next comments
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard



Visual Basicindex
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
About Us
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Gift CDs
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP