FP2000: Invalid Page Fault in Mfc42.dll When Starting FrontPage (245057)



The information in this article applies to:

  • Microsoft FrontPage 2000

This article was previously published under Q245057
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 open FrontPage 2000, the following error message appears:
This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.
When you click Details (on Microsoft Windows Millennium Edition, press ALT+D), you receive the following message:
FRONTPG caused an invalid page fault in MFC42.DLL at address.
NOTE: The actual memory address may vary.

CAUSE

This behavior occurs if a registry key is damaged or contains an incorrect value.

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 issue, use one of the following methods.

Method 1: Check the Windows Registry for Errors

For additional information about how to do this in Microsoft Windows 98 and Windows Millennium Edition (Me), click the article number below to view the article in the Microsoft Knowledge Base:

183887 Description of the Windows Registry Checker Tool (Scanreg.exe)

Method 2: Correct The Registry

Use Registry Editor to verify that the registry key listed below exists and has the value listed. If needed, edit the value to match the value listed.

HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\ToolbarsState-Bar0

Value for BarID:
Decimal: 59393
Hexadecimal: e801

To do this, follow these steps:
  1. On the Windows Start menu, click Run.
  2. In the Open box, type regedit and click OK.
  3. Expand the registry to the following key
    HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\ToolbarsState-Bar0

    and then do one of the following:
    • If the "BarID" Dword value is incorrect:
      1. Right-click BarID Dword value, and click Modify on the shortcut menu that appears.
      2. Select Hexadecimal option, and change the ValueData field to e801.
      3. Click OK.
      -or-

    • If the "BarID" Dword value is missing:
      1. Click New Dword value on the Edit menu.
      2. Name the new Dword value "BarID".
      3. Right-click BarID Dword value, and click Modify on the shortcut menu that appears.
      4. Click Hexadecimal option, and change the ValueData field to e801.
      5. Click OK.



Modification Type:MajorLast Reviewed:6/11/2002
Keywords:kbprb KB245057