Learning is not attained by chance, it must
be sought for with ardor and diligence.
-Abigail Adams
Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon  
Database has been placed in a state...
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   4/18/2014 11:18:20 AM

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.

Database has been placed in a state Link 
Richard Kirkland 
I'm getting this same error but my database is on my desktop so there is no way someone else has it open.  I rebooted my machine, I did a compact and repair and still get the same error.  Any ideas? Read More...
Add a Reply
Database has been placed in a state Link 
Jim Gray 
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. Read More...
Add a Reply

Post a New Comment or Question
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
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 The Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: access tips database has been placed in a state by user admin  PermaLink