Microsoft KB Archive/310808

= ACC97: &quot;Memory Could Not Be Written&quot; Error Message When You Preview or Open a Report in Design View =

Article ID: 310808

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q310808



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
When you attempt to preview a report, open a report in Design view, or gain access to the page setup properties of a report, you may receive an error message that is similar to the following error message:

DDE server window: msaccess.exe - application error

The instruction at &quot;0x77fcb2b9&quot; referenced memory at &quot;0x00000000&quot;. The memory could not be written.



CAUSE
This behavior can occur if the default or report-specific printer is set to a Hewlett-Packard (HP) LaserJet 4000 PCL 6 printer.



RESOLUTION
To resolve the behavior, use one of the following methods:
 * If the default printer is set to the HP LaserJet 4000 PCL 6 printer, change the default printer:
 * Click Start, point to Settings, and then click Printers.
 * In the Printers window, right-click the appropriate printer, and then click Set As Default or Set as Default Printer.
 * If the report-specific printer is set to the HP LaserJet 4000 PCL 6 printer, change the report-specific printer:
 * Open the report on a computer that is not running Windows 2000.
 * Change the report-specific printer to another printer.

To work around this behavior, you can use an earlier version of the driver for the printer. For example, you can use one of the printer drivers that come with Windows 2000.



MORE INFORMATION
This problem tends to be related to the complexity of a report. Simple reports may run without exhibiting this behavior.

Sometimes, when the report is running successfully on a different printer on the Windows 2000-based computer, you can then switch it back to the HP LaserJet 4000 PCL 6 printer, and the report runs correctly.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: prb

Keywords: kb3rdparty kberrmsg kbprb kbprint KB310808

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.