PRJ: Print or Print Preview Crashes If Printer Name(s) Are Too Long (152996)



The information in this article applies to:

  • Microsoft Project 98 for Windows
  • Microsoft Project for Windows 95 4.1
  • Microsoft Project for Windows 95 4.1a

This article was previously published under Q152996

SYMPTOMS

When you print or print preview a project, Microsoft Project may stop responding and you may receive one of the following error messages.

In Microsoft Windows 95

This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.


When you click Details, you receive the following error message:
WINPROJ caused an invalid page fault in module WINPROJ.EXE at <address>

In Microsoft Windows NT

An application error has occurred and an application error log is being generated.
WINPROJ.EXE Exception: access violation <number>, Address: <address>.

CAUSE

This behavior may occur when the combined length of all installed printers' names is longer than 3,072 characters, or if any single printer's name, including the path, is longer than 78 characters.

WORKAROUND

To work around this behavior, use the method appropriate for your situation.
  • Method 1: If the name of a printer is longer than 78 characters, shorten the name to 78 or fewer characters.
  • Method 2: If the combined length of all installed printers' names is longer than 3,072 characters, remove excess printers if possible.
  • Method 3: Capture a printer port.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/12/2005
Keywords:kbHotfixServer kbQFE kbbug kbpending kbQFE KB152996