Solved

Access database won't open when others have it open

Posted on 2007-11-29
5
551 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
ID: 20374260
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
ID: 20374288
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
ID: 20375683
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
ID: 21186187
Forced accept.

Computer101
EE Admin
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

810 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