Microsoft KB Archive/254497

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Visio2000: Error Message: "Visio32 Caused a General Protection Fault in Module USER.EXE" or "Visio32 Caused a General Protection Fault in Module GDI32.EXE"

Article ID: 254497

Article Last Modified on 1/27/2007



APPLIES TO

  • Microsoft Visio 2000 Standard Edition
  • Microsoft Visio 2000 Professional Edition
  • Microsoft Visio 2000 Technical Edition
  • Microsoft Visio 2000 Enterprise Edition
  • Microsoft Windows 98 Standard Edition



This article was previously published under Q254497

SYMPTOMS

When dragging a large number of shapes to the drawing page using the AutoDiscovery and Layout solution, any database solution, the Internet Diagram solution, or some custom solutions, Microsoft Visio 2000 may behave as follows:

  • The following error message may appear:

    Visio32 caused a general protection fault in module USER.EXE

  • The following error message may appear:

    Visio32 caused a general protection fault in module GDI32.EXE

  • Visio 2000 may encounter screen painting problems, such as the inability to display graphics or slow graphics display.
  • Visio 2000 may stop responding.


CAUSE

Visio 2000 may display these error messages or behave unexpectedly when these two conditions are met:

  • You are using any solution where shape text is set repeatedly in the program. Visio 2000 sets shape text repeatedly in the AutoDiscovery and Layout solution, all database solutions, and the Internet Diagram solution. Because you can automate setting text in Visio 2000, any custom solution that sets shape text repeatedly in the program may be affected.


When the shape text is set repeatedly in the program, a resource leak might use Graphics Display Interface (GDI) resources until Visio 2000 displays an error message, experiences screen painting problems, or stops responding.

  • You are using a Windows 98 computer that specifies a PostScript printer driver as its default printer driver, and uses the PostScript printer driver delivered with Windows 98.


RESOLUTION

To work around this behavior, do the following:

  • Download the latest PostScript printer driver for your operating system from the following Adobe Web site:

    and install the PostScript printer driver.

    NOTE: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

  • Install a non-PostScript printer driver and set it as the default when you are using any Visio solution that sets shape text repeatedly in the program. You can still use the PostScript driver at times when you are not running a Visio solution that may cause problems.

To install a printer driver and set it as the default:

  1. Click Start, point to Settings, and then click Printers.
  2. Double-click Add Printers.


The Add Printer Wizard appears.

  1. Follow the instructions on each screen of the Add Printer Wizard, and then click Finish.
  2. Click Start, point to Settings, click Printers, and then right-click the printer that you just added.
  3. Select Set as Default to make the printer your default printer.


MORE INFORMATION

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: Visio32 caused a general protection fault in module user exe gdi32 exe

Keywords: kberrmsg KB254497