Solved

The memory could not be "read" issue

Posted on 2006-10-31
3
172 Views
Last Modified: 2010-04-30
Hi everyone -

I have some printer code that I found on the net to query the status of a printer.  Some of our users are experiencing an error where it says "The instruction at ... referenced memory at ...  The memory could not be "read"."  This doesn't happen everytime, just once in a while.  I've isolated the problem to the printer status code.  I was wondering if there are other resources to get some more information on this error like some log files or event messages available on the system to look at, or am I forced to run a debug version to isolate the exact line of code?

Thanks!
0
Comment
Question by:sandr5
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 125 total points
ID: 17843942
This could be a printer driver error. Try to see if it's one particular type of printer.
0
 
LVL 1

Author Comment

by:sandr5
ID: 18027804
Hi everyone -
Didn't have time to check if it was one particular printer - I will have to keep that in mind for next time.  Sometimes it can be hard to get useful technical information from users.  At any rate, I did a hack temporarily to bypass the printer check based on a flag in a config file for those users experiencing the issues.  It's a bandaid, but it works for now.
Thanks!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

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