?
Solved

The instruction at ... referenced memory at ... The memory could not be "read."

Posted on 2003-11-26
5
Medium Priority
?
61,028 Views
Last Modified: 2012-05-04
Error Message: The instruction at ... referenced memory at ... The memory could not be "read."

This is happening in an Access97 database on Windows NT. Here is a list of what has happened and what I've tried so far:

1) It happened on a single pc. The person was given a new pc and Norton Ghost was used to put his stuff on new pc. The problem continued on the new pc. (Note: This same program is on more than 100 other systems with no problem.)

2) Tried Compact and Repair.

3) Gave him a new copy of the application just to be certain the app wasn't corrupt.

4) Uninstalled all Office97 products and reinstalled.

5) Made certain service packs were installed.

6) Put mdb version of application on this pc and followed the code line by line. "Seems" to always happen at a DoCmd.OpenQuery command in code, but not every time it hits a line of code that has DoCmd.OpenQuery (about every other time).

7) Have been able to successfully run other Access97 apps through that same type of code, but they don't give the error message and shut down.

8) And, just for the heck of it, I created a blank Access97 database and dumped the old mdb into a new database, then created a new mde.

I would appreciate any help or suggestions. This is the day before Thanksgiving, so I may not check back until Monday morning. THANKS!!
0
Comment
Question by:kerryw60
[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
  • 2
  • 2
5 Comments
 
LVL 32

Accepted Solution

by:
jadedata earned 2000 total points
ID: 9827265
Hey kerryw60!

This is not an Access instruction that the message refers to this is a low level memory read error from windows.
If this is happening predictably it could be:
  1.  a bad memory module.
  2.  A conflict with another dll or ocx control trying to compete for the same memory area.
 
If you have Dr Watson running and trapping errors, you can gain some additional insight into what is happening at the "moment of impact"

regards
Jack
0
 
LVL 6

Author Comment

by:kerryw60
ID: 9850519
Hi Jack,
I think I can rule out "a bad memory module" as it happened on the second pc after using Norton Ghost to copy hard drive from first pc. I'm not familiar with Dr Watson, but will give that a try. Thanks for the suggestion. Will let you know how it goes.
0
 
LVL 6

Author Comment

by:kerryw60
ID: 9875109
Hi Jack,
I'm not physically at the location and have to rely on an IT group, none of which can get Dr. Watson to run, including someone that's MS certified in NT. Everyone is giving up on this problem and going to put a new box in place to run this one program (no ghosting this time). Since you were the only one to post a suggestion, I'll give you the points. I also believe that you are right. I looked at Dr. Watson on my own pc and found it can provide some useful information.

Thanks,
Kerry
0
 
LVL 32

Expert Comment

by:jadedata
ID: 9875145
<Most Excellent>  thanx for the question!
0
 

Expert Comment

by:dbarnfield
ID: 10260838
If you get it when you try to preview or print a report it may be a conflict with your print driver - I had the problem with Access 2000 and  my HP Laserjet 4200 on Win 2000. Try getting the latest driver.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Suggested Courses

800 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