Invalid Page Fault Opening File in Microsoft Paint

Last reviewed: December 15, 1997
Article ID: Q162500
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Office 97 for Windows

SYMPTOMS

After you install Microsoft Office 97 on your computer, you may receive the following error message when you open an image file in Microsoft Paint:

   This program has performed an illegal operation and will be shut down.
   If the problem persists, contact the program vendor.

If you click Details, you receive an error message similar to the Following message:

   MSPAINT caused an invalid page fault in module MSPAINT.EXE at
   0137:0042d3fe.

CAUSE

This problem occurs because of a conflict between Microsoft Paint and the graphics import filters included with Microsoft Office 97.

The problem may occur when you open the following types of files:

   DRW
   EPS
   GIF
   JPEG
   JPG
   PCD
   PICT
   TGA
   TIFF

The problem may also occur when you open any other type of file that requires a graphics import filter.

The problem does not occur when you open PCX (PC Paintbrush) or BMP (Windows bitmap) image files.

RESOLUTION

Windows 95

  1. Download the Paint95.exe file from the Microsoft Software Library to an empty folder.

  2. Double-click the file you downloaded in step 1 to expand it.

  3. Copy the Mspaint.exe file to the Program Files\Accessories folder.

  4. Copy the three .dll files to the Windows\System folder.

  5. Restart your computer.

Windows NT 4.0

  1. Download the Paintnt.exe file from the Microsoft Software Library to an empty folder.

  2. Double-click the file you downloaded in step 1 to expand it.

  3. Copy the .exe and .dll files to the Winnt\System32 folder.

    NOTE: You may not be able to copy the Msvcrt.dll file if it is in use. If this is the case, boot your computer to Windows 95 or MS-DOS and then copy the file. If your hard drive uses the NTFS file system, you must rename the file first, and then copy the new Msvcrt.dll file.

    If you receive an error message stating "Cannot rename Msvcrt: The specified file is being used by Windows" you must rename the original Msvcrt.dll file and copy the new version to the Winnt\System32 folder from a Windows NT command prompt.

  4. Restart your computer.

Obtaining the Updated Files

The following files are available for download from the Microsoft Software Library:

 ~ Paint95.exe (size: 754670 bytes) 
 ~ Paintnt.exe (size: 1206048 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

STATUS

Microsoft has confirmed this to be a problem in Microsoft Office 97 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The graphics import filters included with Microsoft Office 97 are not compatible with the versions of Microsoft Paint included with Microsoft Windows 95 and Microsoft Windows NT version 4.0.

If you have not installed the patch, do not attempt to open image files in Microsoft Paint unless they are either PCX or BMP files.


Additional query words: 97 OFF97 crash pbrush pbrush.exe paintbrush
4.00 prodnt
Keywords : win95 winnt kberrmsg kbfile kbinterop kbtool
Version : 4.0 95 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 15, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.