Microsoft KB Archive/822645

= How to troubleshoot error messages that you receive in Word 2003 or in Word 2002 (Part 1) =

Article ID: 822645

Article Last Modified on 4/18/2006

-

APPLIES TO

 Microsoft Office Word 2003, when used with:  Microsoft Windows XP Professional

 Microsoft Windows 2000 Standard Edition  Microsoft Word 2002 Standard Edition

-





This article is a consolidation of the following previously available article: 290929

<div class="notice_section">

For a Microsoft Word 2000 version of this article, see 236319.

<div class="notice_section">

For a Microsoft Word 97 version of this article, see 168198.

<div class="notice_section">

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

<div class="summary_section">

SUMMARY
This article is part 1 of a series of three Microsoft Knowledge Base articles that describe how to troubleshoot error messages in Microsoft Office Word 2003 or in Microsoft Word 2002. For more information about how to troubleshoot steps, click the following article numbers to view the articles in the Microsoft Knowledge Base:

822646 How to troubleshoot error messages that you receive in Word 2003 or in Word 2002 (Part 2)

822648 How to troubleshoot error messages that you receive in Word 2003 or in Word 2002 (Part 3)

<div class="moreinformation_section">

MORE INFORMATION
Word 2003, Microsoft Office 2003, Word 2002, and Microsoft Office XP include two tools to handle programs that stop responding when the programs try to start. These tools are Microsoft Office Application Recovery and Microsoft Office Safe Mode. With these new tools, most invalid page faults and exception errors will be hidden during the recovery process. However, you can still view what problem caused the error.

When Word stops responding, you may receive the following error message from the Microsoft Office Application Recovery tool:

Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience.

If you were in the middle of something, the information you were working on might be lost.

Restart Microsoft Word

Please tell Microsoft about this problem.

We have created an error report that you can send to help us improve Microsoft Word. We will treat this report as confidential and anonymous.

To see what data this error report contains, click here.

When you receive this message, you can try to recover your work, and you can restart Microsoft Word.

This error signature identifies the program and the file that caused Word to stop responding. For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

296493 You receive an error message when you start the program or work with a document in Word 2003 or Word 2002

289508 How to view error signatures if an Office program experiences a serious error and quits

The following topics are discussed in part 1 of this series:
 * Types of errors that may appear
 * Exception errors
 * Illegal operation errors
 * Kernel errors
 * Gather clues from the error message.
 * Gather clues from when the error occurs.
 * Determine the scope of the problem.
 * Is the problem reproducible? Can you make it occur whenever you want, or does it occur at random?
 * Does the problem occur in other programs?
 * Are there specific, known issues about Word that describe your problem?
 * Does the problem only occur with a particular document (or collection of documents)?
 * Does the problem only occur at a particular time?

Types of errors that may appear
There are three general types of error messages that you may receive when you work with Word 2003:
 * Exception errors
 * Illegal operation errors
 * Kernel errors

back to the top

Exception errors
An exception error signifies that something unexpected has occurred in the Windows environment, typically an improper memory access. For example, a program or a Windows component might read or write to a memory location that has not been allocated to it (memory that it does not &quot;own&quot;), potentially overwriting and corrupting other program code in that area of memory.

Fatal exception errors are typically of the form

A fatal exception  has occurred at

where  represents the actual processor exception from 00 to 0F and where   represents the code segment pointer and the actual address where the exception occurred. Fatal exception errors are codes that a program returns in the following scenarios:
 * Access to an illegal instruction has been encountered.
 * Invalid data or code has been accessed.
 * The permission level of an operation is invalid.

When any of these scenarios occurs, the processor returns an exception to the operating system, and this exception is handled as a fatal exception error. In many scenarios, the exception is non-recoverable, and the system must be restarted or shut down, depending on the severity of the error.

back to the &quot;Types of errors that may appear&quot; heading

Illegal operation errors
When you use Word 2003 or Word 2002, the most common type of error message that is displayed is an invalid page fault. The error message that you receive is similar to the following:

Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience.

Note To view the details of the error signature, click the To see what data this error report contains, click here link in the error dialog box. When an invalid page fault occurs, an unexpected event occurs in Windows. An invalid page fault typically indicates that a program incorrectly tried to use random access memory (for example, when a program or a Windows component reads or writes to a memory location that is not allocated to the program). When this behavior occurs, the program can potentially overwrite and corrupt other program code in that area of memory.

back to the &quot;Types of errors that may appear&quot; heading

Kernel errors
Kernel errors are also invalid page faults that occur between a program (for example, Microsoft Word) and Windows. A typical error message is similar to the following example:

Microsoft Word has encountered a problem and needs to close.

When you click Click Here next to To see what data this error report contains, the ModName is listed as Kernel32.dll.

back to the &quot;Types of errors that may appear&quot; heading

Gather clues from the error message
The first clue about the cause of an invalid page fault is in the invalid page fault error message that is displayed. The error message is similar to the following:

WINWORD caused an invalid page fault in module  at

Note the module name that is listed. If the module name is Winword.exe, you must continue to search for the cause of the problem. Sometimes, however, the module name is a printer driver file, a video driver file, or some other non-Word component. If you can gather clues about the component that is causing the invalid page fault, you can target the specific cause of the problem.

Note In Windows XP, this error is similar to the following:

Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience.

To view the details of the error signature, click the To see what data this error report contains, click here link in the error dialog box.

If the module name is something that sounds familiar to you, such as a printer driver or a video driver, see the &quot;How to Troubleshoot Invalid Page Faults and Exception Errors That Occur While You Print or Format the Document&quot; section in the following Microsoft Knowledge Base article:

822646 How to troubleshoot error messages that you receive in Word 2003 or in Word 2002 (Part 2)

If the module name does not sound familiar, or if you are not sure which component the module is a part of, you can query the Microsoft Knowledge Base by using the module name. To search for Microsoft Knowledge Base articles, visit the following Microsoft Web site:

http://support.microsoft.com/?pr=kbinfo

After you locate the Microsoft Product Support Services Web site, use query parameters that are specific to your error message. For more information about how to search for information in the Microsoft Knowledge Base, click the following article number to view the article in the Microsoft Knowledge Base:

129725 Obtaining Knowledge Base articles on the World Wide Web

If you remove and then reinstall the file that is mentioned in the invalid page fault, you can sometimes correct the problem. If this does not correct the problem, or if you are not sure how to remove and reinstall the file, continue the troubleshooting steps that are listed in this article, or contact Microsoft Product Support Services for more information.

For information about how to contact Microsoft Product Support Services, see the &quot;Microsoft Support Options&quot; section in the following Microsoft Knowledge Base article:

822648 How to troubleshoot error messages that you receive in Word 2003 or in Word 2002 (Part 3)

back to the top

Gather clues from when the error occurs
Sometimes, noting when the error occurs can help you to determine the cause of the problem. For example, if the error occurs when you print the document, see the &quot;Is the Printer Driver Damaged?&quot; section in part 2 of this series of articles about how to troubleshoot error messages, and try those steps first. If the error occurs when you start Word, go to the &quot;Does the problem only occur at a particular time?&quot; section of this article.

If you cannot resolve the error after you try the steps in part 2 of this series, continue to troubleshoot the problem by starting at the beginning of this article, and then work through the steps systematically. The goal is to locate clues to the cause of the problem and to resolve the problem quickly by trying the most likely solutions first.

back to the top

Determine the scope of the problem
An important part of troubleshooting invalid page faults is to determine how widespread the problem is. Try to answer the following questions:
 * Is the problem reproducible? Can you make it occur whenever you want or does it occur at random?
 * Does the problem occur in other programs?
 * Are there specific, known issues about Word that describe your problem?
 * Does the problem only occur with a particular document (or collection of documents)?
 * Does the problem only occur at a particular time?

The sections that follow discus each of these questions and the possible resolutions.

Is the problem reproducible? Can you make it occur whenever you want, or does it occur at random?
Can you make the error occur again in a reasonable period of time? To resolve an invalid page fault, try a solution, and then try to make the invalid page fault occur again. If the error goes away, you can assume that you have resolved the problem. If the error still occurs, you have to continue to troubleshoot the problem.

If you cannot easily reproduce the error, try each solution one at a time. After you try one solution, go back to Word, and work with the program for a while until you feel comfortable that the problem has been resolved.

If the problem has not been resolved, try another possible solution. Keep track of the solutions that you have tried and their results. Remember, if the invalid page fault occurs when you do specific things in Word or in the document, you may have some clues about which solutions to try first.

back to the &quot;Determine the scope of the problem&quot; heading

Does the problem occur in other programs?
If the problem occurs in programs other than Word, most likely the problem is not with Word but with Windows, a component of Windows, or a piece of software that is running in the background. Although some of the troubleshooting tips and the possible resolutions in this article may help, the focus of this article is to resolve invalid page faults that are specific to Word.

back to the &quot;Determine the scope of the problem&quot; heading

Are there specific, known issues about word that describe your problem?
Some known issues with Word may cause invalid page faults under specific circumstances. For more information about specific causes of invalid page faults in Word 2003 or in Word 2002, query for the following words in the Microsoft Knowledge Base:
 * Word 2003
 * Word 2002
 * IPF

For more information about how to locate articles in the Microsoft Knowledge Base, click the following article number to view the article in the Microsoft Knowledge Base:

129725 Obtaining Knowledge Base articles on the World Wide Web

If none of the articles in the Microsoft Knowledge Base describe your problem, continue to troubleshoot your problem by using the information in this article.

back to the &quot;Determine the scope of the problem&quot; heading

Does the problem only occur with a particular document (or collection of documents)?
If the invalid page fault is specific to a particular document, the document may be damaged. To test whether the document is damaged, create a new empty document based on the Normal.dot template, and then try to reproduce the error in the new document.

To create a new document based on the Normal.dot template, follow these steps:


 * 1) On the File menu, click New.
 * 2) In the New Document task pane, click Blank Document.

If the error also occurs in the new document, the problem is not related to a damaged document. Go to the next section of this article to continue to troubleshoot the problem.

If the error does not occur in a new document, the original document may be damaged. Damaged documents frequently exhibit behavior that is not part of the program's design, including:
 * Infinite repagination.
 * Incorrect document layout and incorrect formatting.
 * Unreadable characters on the screen.
 * Error messages during processing.
 * System stops responding when you load the file or view the file.
 * Any other unusual behavior that cannot be attributed to the typical operation of the program.

Some of this behavior can be caused by factors other than document corruption.

To help rule out other factors, troubleshoot by using the following steps:
 * 1) Look for similar behavior in other documents.
 * 2) Look for similar behavior in other programs.
 * 3) Take the document in question to another computer, and then try to reproduce the behavior.

back to the &quot;Determine the scope of the problem&quot; heading

Does the problem only occur at a particular time?
Determine if the problem only occurs at a particular time. If the problem occurs when you start Word, start Word with the default settings.

Start Word with the /a Switch
During startup, the  registry key and the Normal.dot global template are loaded. If either of these items is damaged, Word may not start. You can temporarily bypass these items by starting Word with the /a switch. To do this, follow these steps: <ol> Click Start, and then click Run.</li> Click Browse.</li> Locate the folder where the Winword.exe file is located.

Note The default location for Word 2003 is C:\Program Files\Microsoft Office\Office11.

The default location for Word 2002 is C:\Program Files\Microsoft Office\Office10.</li> Select the Winword.exe file, and then click Open.</li> Click in the Open box. Press the END key to move the insertion point after the closing quotation mark that surrounds the path and the file name.</li> Type a space, and then type /a. The command line should appear similar to the following example:

&quot;C:\Program Files\Microsoft Office\Office11\WinWord.exe&quot; /a

</li> Click OK.</li></ol>

If Word starts correctly, the problem is with a damaged  registry key or a damaged Normal.dot global template. Follow the steps in the &quot;Reset Word to Default Settings&quot; section of this article for the next set of steps to troubleshoot the problem.

If Word does not start correctly, continue to start Word with the /a switch where indicated, skip the &quot;Reset Word to Default Settings&quot; section, and then continue to troubleshoot the problem.

Reset Word to default settings
To reset Word to its default settings, follow these steps in the order that they appear:
 * 1) Delete the   registry key.
 * 2) Rename the global template (Normal.dot).
 * 3) Clear the Startup folder.

Delete the Data Registry Key

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note Deleting the  key resets several options to their default settings, including the File menu list of most recently used files and many of the settings in the Options dialog box. <ol> Quit all Microsoft Office programs.</li> Click Start, and then click Run.</li> In the Open box, type regedit, and then click OK.</li> Expand the following registry key:  For Word 2003:

 

</li> For Word 2002:

 

</li></ul> </li> In the left pane, click the Data folder, and then press DELETE to delete the  registry key.</li> When you receive the following message, click Yes to confirm the deletion:

Are you sure you want to delete this key?

</li> <li>On the Registry menu, click Exit.</li> <li>Start Word without using the /a switch.</li></ol>

If Word starts and functions correctly, you have resolved the problem. The problem was a damaged registry key.

Note You may have to change several settings to restore your favorite options in Word.

If Word does not start or does not function correctly, you may have a damaged global template (Normal.dot). Follow the steps in the &quot;Rename the Global Template (Normal.dot)&quot; section of this article to troubleshoot the problem.

Back to the &quot;Reset Word to default settings&quot; heading

Rename the Global Template (Normal.dot)

Note Renaming the Normal.dot template resets several options to their default settings, including custom styles, custom toolbars, macros, and AutoText entries. Therefore, Microsoft strongly recommends that you rename and not delete the Normal.dot file.

Certain installations may yield more than one legitimate Normal.dot file. These situations include multiple versions of Word that are running on the same computer or several workstation installations on the same computer. In these situations, pay special attention so that you rename the correct copy of Normal.dot.

By default, the global template (Normal.dot) is located in the following folder:

C:\Documents and Settings\ \Application Data\Microsoft\Templates

To rename the Normal.dot template on a computer that is running Microsoft Windows 2000, follow these steps:
 * 1) Quit all Microsoft Office programs.
 * 2) Click Start, point to Search, and then click For Files or Folders.
 * 3) In the Search for files or folders named box, type Normal.dot.
 * 4) If you want to specify the location to start the search, click a folder in the Look in list.
 * 5) Click Search Options, select Advanced Options, and then select Search Subfolders.
 * 6) Click Search Now.
 * 7) In the Search Results window, right-click the Normal.dot file, and then click Rename.
 * 8) Type a new file name (for example,  .dot ), and then press ENTER.
 * 9) Close the Search Results window, and then restart Word without using the /a switch.

To rename the Normal.dot template on a computer that is running Microsoft Windows XP, follow these steps:
 * 1) Quit all Microsoft Office programs.
 * 2) Click Start, and then click Search.
 * 3) Click All Files and Folders.
 * 4) Click More advanced options, and then click to select the Search hidden files and folders check box.
 * 5) In the All or part of the file name box, type Normal.dot, and then click Search.
 * 6) In the right pane of the Search Results dialog box, right-click Normal.dot, and then click Rename.
 * 7) Type a new file name (for example,  .dot ), and then press ENTER.
 * 8) Close the Search Results window, and then restart Microsoft Word without using the /a switch.

If Word starts correctly, you have resolved the problem. The problem was a damaged Normal.dot template.

Note You may have to change several settings to restore your favorite options in Word.

If the Normal.dot file that you renamed contained customizations such as styles, macros, or AutoText entries that cannot be re-created easily, you may be able to copy those customizations from the old Normal.dot file to the new Normal.dot file by using the Organizer. For more information about how to use the Organizer, click Microsoft Word Help on the Help menu, type using the Organizer in the Search for box in the Assistance pane, and then click Start searching to view the topic.

If Word does not start correctly, follow the steps in the &quot;Clear the Startup Folder&quot; section of this article to troubleshoot the problem.

Back to the &quot;Reset Word to default settings&quot; heading

Clear the Startup folder

Word can automatically load templates, Word libraries (WLLs), and Component Object Model (COM) add-ins at startup. These files give Word added functionality. If one of these files is damaged, it can cause an invalid page fault when you start Word. To correct this problem, follow these steps: <ol> <li>Quit all Microsoft Office programs.</li> <li>Use Windows Explorer or My Computer, and locate the Office Startup folder and the Word Startup folder.

The default location for the Office Startup folder for Office 2003 is:

C:\Program Files\Microsoft Office\Office11\Startup

The default location for the Word Startup folder is:

C:\Documents and Settings\ \Application Data\Microsoft\Word\Startup

The default location for the Office Startup folder for Office XP is:

C:\Program Files\Microsoft Office\Office10\Startup

The default location for the Word Startup folder is:

C:\Documents and Settings\ \Application Data\Microsoft\Word\Startup

</li> <li>Drag the contents of these folders to another location, such as your desktop.</li> <li>Start Word without using the /a switch, and then try to reproduce the problem.</li></ol>

If Word starts correctly, one of the files that you removed from the Startup folder is damaged or conflicts with Word. Add the files back to the Startup folders one at a time until you determine which file is damaged or has the conflict.

If Word does not start correctly, continue to troubleshoot the problem by using the steps in part 2 of this series. For more information about how to troubleshoot invalid page faults in Word 2003, click the following article number to view the article in the Microsoft Knowledge Base:

822646 How to troubleshoot error messages that you receive in Word 2003 or in Word 2002 (Part 2)

Back to the &quot;Reset Word to Default Settings&quot; heading

Additional query words: reviewdocid tshoot troubleshoot ipf wd11 wd2003 inf hang mru troubleshooting 2002 wd2002

Keywords: kberrmsg kbhowto kbtshoot KB822645

-

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

© Microsoft Corporation. All rights reserved.