Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I fix my Access app after getting the error "Access has stopped working"?

Posted on 2009-04-02
1
Medium Priority
?
296 Views
Last Modified: 2013-11-25
I have an Access 2003 application, with separate front-end and back-end MDB's, which has now crashed twice wih the same inexplicable error: a dialog captioned "Microsoft Windows" appears (I'm now working in Windows Vista 64 bit, although the application was originally developed on an XP Pro machine -- but it's been working on Vista now for a couple of months). The body of the error dialog is as follows:

First dialog:

Microsoft Access has stopped working
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is available.

Second dialog, which pops up while the first is still on the screen:

Windows cannot find 'c:\data\FinMain.mdb'. Make sure you typed the name correctly, and then try again.

Third dialog. After I hit the OK button on the second dialog, I then get a Microsoft Office dialog telling me the problem was caused by Mcirosoft Office software, asking me if I want to use Windows Update, saying that many problems which are reported can be solved by turning on Windows Update. When I click on the "Open Windows Update" link, I get the message that I need to access the site using Windows Explorer 5 or higher -- I guess MS won't dance with Firefox, which is what I use.

The problem occurred this morning when I attempted to open the program. Yesterday afternoon I had used the program and tweaked some of the code in the front end (the front end file is FinMain.mdb, and the back end is FinData.mdb), debugged it, and then ran it without any problem. When I was finished, the program exited normally. I did a backup, and today when the problem occurred, I tried using the backup -- no luck, same errors with the backup.

As I noted above, this same problem occurred once before, which I was unable to diagnose, and had to revert to an earlier backup where I lost a week's worth of code changes. The problem seems to only affect the front end, not the back end containing financial data. Even though FinMain.mdb won't load (this is the problem I am describing now), FinData.mdb does load properly. However, FinData.mdb contains only tables none of the program code, which is all located in FinMain.mdb.

Losing code, and feeling like I'm playing Russian Roulette is very frustrating.  There is no error message that I can use to help research the problem, other than the cryptic dialog saying Access can't find the file. I'm mystified. Does anyone know how fix this problem?
0
Comment
Question by:ongho0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
mrcoolcoder earned 1500 total points
ID: 24056533
1. I think your front is corrupted, so you should start a new mdb and import your front end objects into it.  Any object is importable (queries, tables, reports, and code).

2. Once you have imported all your objects, you will need to relink to the back-end database.

3. I also think that you could benefit from using some kind of source control outside of access, or even text files.  Code is code and I think you need to keep track of it outside of access.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 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