Microsoft KB Archive/159314

= PUB 97: "Invalid Page Fault in Kernel32.dll" Starting Publisher =

Article ID: 159314

Article Last Modified on 11/7/2002

-

APPLIES TO


 * Microsoft Publisher 97 Standard Edition

-



This article was previously published under Q159314



SYMPTOMS
When you start Microsoft Publisher 97 you may receive the following error message:

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 one of the following error messages:


 * Mspub executed an invalid instruction in module.


 * Mspub caused an invalid page fault in module Kernel32.dll.


 * Mspub caused an invalid page fault in module.



CAUSE
This behavior can occur if a newer version of the Msvcrt40.dll file is already installed on your computer when you run Publisher Setup.

Publisher Setup configures Mspub.exe to look for certain functions in Msvcrt40.dll at certain addresses. If the wrong version of Msvcrt40.dll is installed, those addresses are wrong and Publisher does not start.



Rename Mspub.exe and Msvcrt40.dll and Reinstall Publisher 97
 Close any open applications. Rename Mspub.exe and Msvcrt40.dll. To do this:  On the Windows Start menu, point to Find, and then click Files or Folders. In the Named box, type:

mspub.exe

In the Look In box, select the drive where you installed Publisher 97. Click to select the Include Subfolders check box. Click Find Now. Right-click Mspub.exe and then click Rename. Change the name to something like Mspub.old.</li> Click New Search. When you receive a message that the current search will be cleared, click OK.</li> In the Named box, type:

Msvcrt40.dll

</li> Click Find Now.</li> Right-click Msvcrt40.dll and then click Rename. Change the name to something like Msvcrt40.old.

NOTE: If you are running any programs that are using the Msvcrt40.dll, you receive this error message:

Cannot rename Msvcrt40.dll: Access is denied.

Make sure the disk is not full or write-protected and that the file is not currently in use.

If you receive this error message, follow these additional steps: <ol> On the Start menu, click Shut Down.</li>  In the Shut Down Windows dialog box, click "Restart in MS-DOS mode" and then click Yes. You should see a blank screen with an MS-DOS prompt similar to this: <pre class="fixed_text">           c:\windows> </li> Type the following:

cd system

and then press ENTER.</li> Type the following:

ren msvcrt40.dll msvcrt40.old

and then press ENTER.</li> Type the following:

exit

and then press ENTER. Windows 95 will restart.</li> If you receive any kind of "error starting program" or "can't find required .dll" error message, click OK to bypass them.</li></ol> </li></ol> </li> Start Publisher 97 Setup.</li> Click Reinstall. Follow the instructions on the screen.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: 97 4.00 pub4 kernel32.dll system error mspub.exe pub install pub97 mspub ipf launch launching exe kernel32 dll

Keywords: kberrmsg kbsetup kbprb kbfaq KB159314

-

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

© Microsoft Corporation. All rights reserved.