An investment in knowledge
pays the best interest.
-Benjamin Franklin
 
Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon  
 
NEW: Excel Expert 11 - Learn XLOOKUP    dismiss
 
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 - 4/20/2015
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...
Loading...
Add Your Comments
Database has been placed in a state Link 
Jim Gray - 4/21/2014
Rick,
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...
Loading...
Add Your Comments

 

Post Your Comments
 
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.
 
Subscribe
 
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search The Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
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