Microsoft KB Archive/185501

= Error Message: Mspaint Caused an Invalid Page Fault =

Article ID: 185501

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q185501



If this article does not describe the error message that you are receiving, view the following Microsoft Knowledge Base article to view more articles that describe error messages:

315854 Windows 98 and Windows Me Error Message Resource Center

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you attempt to start Microsoft Paint (Mspaint) or if you attempt to type text, click a font size on the Text toolbar, and then press ESC to close the Text toolbar, and then press ESC to close the Text toolbar, you may receive the following error message:

Mspaint caused an invalid page fault in module Mspaint.exe at 015f:010259e2.

If you click Close, you receive the following error message:

Mspaint caused an invalid page fault in module Mfc42.dll at 015f:5f4012b3.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this problem:  Click Start, click Run, type regedit in the Open box, and then press ENTER. Locate and click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Applets\Paint

 Right-click the registry key, and then click Delete.

This registry key is rebuilt the next time that you start Paint.

To prevent this problem from occurring, click Text Toolbar on the View menu to close the Text toolbar.



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



MORE INFORMATION
This behavior can also occur if you open Paint and the Mspaint.exe program is in the wrong folder.

Additional query words: mspaint mfc42 w98hemjul

Keywords: kberrmsg kbinvalidpagefault kbprb KB185501

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.