Knowledge Base

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

Article ID: 152996

Article Last Modified on 1/19/2007


APPLIES TO


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.

Additional query words: crash hang ipf crashes crashing crashed quit quitting quits fail fails failing failed break

Keywords: kbhotfixserver kbqfe kbbug kbpending kbqfe KB152996