ACC97: "Memory Could Not Be Written" Error Message When You Preview or Open a Report in Design View (310808)



The information in this article applies to:

  • Microsoft Access 97, when used with:
    • the operating system: Microsoft Windows 2000

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 "0x77fcb2b9" referenced memory at "0x00000000". 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:
    1. Click Start, point to Settings, and then click Printers.
    2. 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:
    1. Open the report on a computer that is not running Windows 2000.
    2. 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.

Modification Type:MajorLast Reviewed:10/30/2003
Keywords:kb3rdparty kberrmsg kbprb kbprint KB310808