Solved

Access database won't open when others have it open

Posted on 2007-11-29
5
549 Views
Last Modified: 2008-04-11
We have an Access 2000 database that 2 computers were sharing.  The host (PC1) computer has Access 2003 installed and PC2 has Access 2000 on it.  PC1 shares the database folder and PC2 maps a drive to the folder.  It has worked well until now.

All computers on the network are Windows XP.

We recently added a 3rd computer (PC3) to our network.  It has Access 2007 and can open the database, but only when no one else has it open.   PC3 can't open the database when it is in use if the file is doubleclicked directly.  PC3 CAN open the database when it is locked if the file is opened manually from the file menu.

I have checked to make sure that all computers are opening in Shared mode and not Exclusive mode in the Options.  A lock file does appear when a computer has the DB open.  

I think I am having a similar problem as this question, but don't have any Access expertise.  
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_22101121.html

I should also say that this same problem also happened to PC2 when PC1 had to be reformatted, reinstalled and restored.  Is there a setting on PC1 that we have wrong?

Thanks,
 Ben
0
Comment
Question by:benab
  • 2
5 Comments
 
LVL 84
Comment Utility
I'm assuming that you haven't split the database; if not, then you should do so (Access includes a splitter wizard). The wizard will produce a FrontEnd (forms, queries, reports, modules) and a Backend(tables only). You would then deploy a FE to each computer; each of those FE's should then connect to the SAME backend. Yes, this does make FE updates a bit more difficult, but that's the price ya pay for a multi-user app <g>.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 100 total points
Comment Utility
Note also that a lockfile will always appear when the db is open, regardless of what mode the db is opened with.

Also, make sure that ALL users have full permissions on the folder hosting the database file (all users must be able to read/write/create/destroy files in that folder, since they all must be able to manipulate the lockfile).

Note also that you may need to add that folder to the 2007 machine's "Trusted Zone". This is done in Access ... click the Options item, then examine the Trusted Zones section.
0
 
LVL 1

Author Comment

by:benab
Comment Utility
Great.  I will try that next time I go there.  

Thanks much.  I didn't know about the splitter.   I thought about the concept that the user on PC3 might not have access to the lock file, but they should have the same security as the others.  I will check that too.

-Ben
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now