Solved

Trouble opening Access database

Posted on 2013-05-21
5
176 Views
Last Modified: 2013-05-21
We have an Access database on a file server which occasionally (from one workstation) refuses to open from Explorer.  It will open from Access.  A copy of the file will open from Explorer.  File will open from Explorer on other stations and the server.  This problem seems to reoccur every few months, the usual fix is to create a new copy and tell everyone to use the new copy.  Would like to find the real solution to this.
0
Comment
Question by:hvserv
5 Comments
 
LVL 12

Accepted Solution

by:
pdebaets earned 250 total points
ID: 39185209
Some general maintenance might help. Try

1. Regular compact and repair. I use my Application Starter utility to compact client databases daily: http://www.peterssoftware.com/aps.htm

2. Decompile. Details are here: http://peterssoftware.com/t_fixerr.htm, item "f."

3. Run Windows Update to make sure you have the latest service pack releases of Microsoft Office products on all user computers.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39185218
Always try to open the DB from a shortcut...
(Also, if you use a shortcut you can supply various start up options for the database)

(Why force users to navigate explorer anyway...?)

;-)
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 39185250
Always put a copy of the database front end (application) on the users PC!  DO NOT share the application with multiple users on the File Server!  

You can however link the front end (on users PCs) to the data (back-end) on the file server, this is actually the preferred method of sharing an Access database application across multiple simultaneous users.
0
 

Author Comment

by:hvserv
ID: 39185300
Thank you to all who commented.  Had assigned points to first expert prior to receiving subsequent answers.  This problem is an inherited problem for me, and I have minimal experience with databases.  Examination of our configuration indicates an overhaul is needed.
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 39185317
hvserv,

Regarding my comment about putting the front-end application on the users PC.  There are a number of ways to do this.  One is with a simple batch file on the desktop, which has commands to:

1. delete the current version of the application from the users machine
2. copy the version that is on the server to the users machine
3.  Start Access and open that new database.

This addresses boag2000's comment as well, and ensures that if you need to make changes to the application, all you have to do is copy the updated version to the file server.  The next time the user clicks on the batch file shortcut, it will copy that file to their computer and use it.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Outlook Free & Paid Tools
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

785 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