Troubleshooting Invalid Page Fault and Other Exception Errors

Last reviewed: 01/10/2007
Article ID: R10011

The information in this article applies to:

SUMMARY

This document has two parts:

If the quick troubleshooting guide does not help, use the detailed information to assist with analyzing and troubleshooting problems.

QUICK TROUBLESHOOTING GUIDE

Determine if Problem is Reproducible

You must first determine if the problem is reproducible on demand. Diagnosis of the problem is easier if you can cause the problem to occur on demand. However, if the problem is not reproducible on demand, unfortunately it will be much harder to diagnose. In this type of situation, you may have to implement each of the following suggestions for a period of time before you can determine whether or not the problem is still present, since it may not be immediately apparent.

Is this a network installation?

If every workstation running Tabs3 and PracticeMaster software gets the error

  1. Run a Data File Integrity Check if possible. If the problem is in Tabs3, run an Archive Integrity Check as well. Corrupted data can cause exception violations.
  2. Try reinstalling the program files for System Configuration and all other Tabs3 and PracticeMaster applications. Corrupted EXE and DLL files can cause exception violations. For information on reinstalling the program files, please see KB Article R11010, "How to Reinstall Tabs3 and PracticeMaster Software (Version 14 & 12)"; KB Article R10888, "How to Reinstall Tabs3 and PracticeMaster Software (Version 11)"; or KB Article R10695, "How to Reinstall Tabs3 and PracticeMaster Software (Version 10)."
  3. There could be network problems that affect all (or nearly all) workstations. Copy the program directory to a local hard disk and run the program locally. Be sure to change any paths, such as the client data path in Tabs3 General Ledger Software, before testing if necessary. If the system runs fine on a local hard disk but not on the file server, then the data and program files are okay. This usually indicates that there is a problem with the network hardware or software.
  4. The task file (STTASK.DAT) could be corrupted. Have all users log out of all Tabs3 and PracticeMaster software. The Active User List can be used to determine which users are accessing which tasks. Try deleting the task file found in the program directory and rerunning the application to see if the error is eliminated.
  5. Caution: Data integrity may be compromised if the task file is deleted while a user is accessing the software. Furthermore, deleting the task file while other users are active may cause Fatal Errors to occur during program execution. Do not delete the task file unless you are absolutely sure no Tabs3 and PracticeMaster software is being used.

    Windows CSV Note: For Version 14.3 and later CSV users, deleting STTASK.DAT will have no effect as a troubleshooting step. Beginning with Version 14.3 CSV, STTASK.DAT is an empty file that is locked while the STI Director Service is running to prevent any issues with non-CSV software attempting to use the file.

  6. If the problem is corrected when the program is run locally, further troubleshooting into the network is needed. See the Network Troubleshooting section below.

If only certain workstations or one workstation gets the error....

  1. You know the data is probably okay since other workstations do not get the error.
  2. The program files on the file server are probably okay since other workstations do not get the error.
  3. The STI.INI file could be corrupted. Try renaming the STI.INI file to STI.TMP and rerunning the application to see if the error is eliminated. The STI.INI file resides in the workstation's Windows directory. Note: Renaming the STI.INI file will cause a new one to be created with new workstation defaults which affects all our products used on the workstation.
  4. Check the Network Troubleshooting section below.

Network Troubleshooting

  1. Make sure ALL power management features have been disabled on all workstations and the server. This is especially pertinent if the exception violation comes after a period of inactivity. Power Management must be disabled at both the BIOS and Operating System level!
  2. Make sure the steps given in KB Article R10200, "Redirector Problems and Other Network Problems", have been followed. This includes Opportunistic Locking on Windows NT servers, NIC speed and duplex configuration, and recommended registry settings.
  3. Run the redirector test documented in KB Article R10104, "REDRTEST.EXE Utility Program", on each workstation and server to verify all recommended settings have been implemented.
  4. Make sure the Network Interface Card (NIC) drivers for all workstations are up to date. This can be accomplished by contacting the reseller or manufacturer of the card.
  5. Run the TESTIO program overnight as documented in KB Article R10054, "Testing for Basic Network Reliability".

Is this a local computer installation?

  1. Reinstall the program files for System Configuration and all other Tabs3 and PracticeMaster applications. For more information on reinstalling the program files, please see KB Article R11010, "How to Reinstall Tabs3 and PracticeMaster Software (Version 14 & 12)"; KB Article R10888, "How to Reinstall Tabs3 and PracticeMaster Software (Version 11)"; or KB Article R10695, "How to Reinstall Tabs3 and PracticeMaster Software (Version 10)."
  2. Run the Data File Integrity Check. If the problem is in Tabs3, run an Archive Integrity Check as well.
  3. The STI.INI file could be corrupted. Try renaming the STI.INI file to STI.TMP and rerunning the application to see if the error is eliminated. The STI.INI file resides in the workstation's Windows directory. Note: Renaming the STI.INI file will cause a new one to be created with new workstation defaults which affects all our products used on the workstation.
  4. The task file (STTASK.DAT) could be corrupted. Have all users log out of all Tabs3 and PracticeMaster software. The Active User List can be used to determine which users are accessing which tasks. Try deleting the task file found in the program directory and rerunning the application to see if the error is eliminated.
  5. Caution: Data integrity may be compromised if the task file is deleted while a user is accessing the software. Furthermore, deleting the task file while other users are active may cause Fatal Errors to occur during program execution. Do not delete the task file unless you are absolutely sure no Tabs3 and PracticeMaster software is being used.

    Windows CSV Note: For Version 14.3 and later CSV users, deleting STTASK.DAT will have no effect as a troubleshooting step. Beginning with Version 14.3 CSV, STTASK.DAT is an empty file that is locked while the STI Director Service is running to prevent any issues with non-CSV software attempting to use the file.

  6. Try moving Tabs3 and PracticeMaster software to another computer.

WHAT IS AN EXCEPTION ERROR?

An exception error indicates that something unexpected has happened within the Windows environment, such as an improper memory access. For example, this can happen when an application or component reads or writes to a memory location that has not been allocated to it (memory that it does not "own"), potentially overwriting and corrupting other program code in that area of memory.

Fatal exception errors are typically in the form of:

A fatal exception <XY> has occurred at xxxx:xxxxxxxx

where <XY> represents the actual processor exception from 00 to 0F.; The xxxx:xxxxxxxx represents the enhanced instruction pointer to the code segment and the 8-bit address is the actual address where the exception occurred.

The following situations would return a Fatal Exception error:

When any of these situations are encountered, the processor returns an exception to the operating system, which in turn is reported as a fatal exception error. Usually, the operating system cannot recover from the error and the workstation must be restarted or shut down.

The most common error message you will encounter while using Tabs3 and PracticeMaster software is an "Invalid Page Fault" or an IPF. The error message will be similar to:

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 will receive a message similar to the following:

<TBMAIN> caused an invalid page fault in module <module name> at <address>

After clicking the OK button, the program is shut down.

GETTING CLUES FROM THE ERROR MESSAGE

The first clue as to the cause of an IPF is in the IPF error message that is displayed.

If you click Details, you will receive a message similar to the following:

       <TBMAIN> caused an invalid page fault in module <module name> at <address>

Note the module name that is listed in the error message. The module name may help to narrow down the problem.

The error message may also include a section entitled "Function Traceback Path". This section of the error message lists the most recent program operations and files accessed. The information in the Function Traceback Path may provide additional insight into the cause of the IPF error message.

GETTING CLUES FROM WHEN THE ERROR OCCURS

Noting when the error occurs can be very useful in determining the cause of the problem. For example, if the error occurs when printing checks, reports or statements, you should skip to the Is the Problem Caused by Printing Issues? section of this article.

After reading that information and the related article, if you are still unable to resolve the error, continue troubleshooting at the beginning of this article and work through the steps systematically. The goal is to try to get clues as to the cause of the problem and resolve it quickly by trying the most likely solutions first.

DETERMINING HOW WIDESPREAD THE PROBLEM IS

A key part of troubleshooting IPFs is determining how widespread the problem is. Ask yourself the following questions in order to effectively solve the problem:

The following sections of this article discuss each question and provides information on resolving each type of problem.

Is the Problem Reproducible?

Can you reproduce or make the error happen on demand in a reasonable amount of time? The process of solving an IPF is to try a solution and then attempt to reproduce the error. If you cannot reproduce the error, then most likely you have solved the problem. If the error still occurs, then you need to continue troubleshooting the problem.

If the error is not easily reproducible, then you will have to try each of the solutions one at a time. After you try one solution, go back and work with the program for a while. If the problem has not been solved, try another possible solution. We recommend that you keep track of the solutions you have tried and their results. Remember, if the IPF occurs when you do specific things in Tabs3 or other applications, you may get some clues about which solutions to try first.

Is the Data File Integrity Check Clean?

Corrupted data can cause IPF and other access violations. Be sure to run the Data File Integrity Check (DFIC) and the Archive Data Integrity Check programs and resolve any errors that are reported. Note that not all cases of corrupted data can be caught by these programs. Therefore, even if the integrity check reports no errors, corrupted data is still a possibility.

Does the Problem Occur only in Tabs3 and PracticeMaster Software?

If the problem occurs in other applications besides Tabs3 and PracticeMaster software, then most likely, the problem is not with Tabs3 and PracticeMaster software, but rather with Windows, a component of Windows, or software that is running in the background. While some of the troubleshooting tips and possible solutions in this article may be of help, the focus of this article is to resolve IPFs that are specific to Tabs3 and PracticeMaster software. For more information about troubleshooting errors that are not specific to Tabs3 and PracticeMaster software, please see the References section of this article for other resources that may be of assistance.

Are There Specific Known Issues Causing This Problem?

Antivirus software and screen saver conflicts may be cause invalid page faults and other problems. For more information, please see KB Articles R10760, "Antivirus Software Information," and R10061, "Screen Saver Conflicts."

Are you in a Network Environment?

In most network environments, the program files and some helper files (i.e., DLL files) are located on a network file server. Any communication problems with the file server can cause an IPF or other access violation errors.

You can test this by copying the program directory to your local hard disk and running the program locally. Be sure to change any paths, such as the client data path in Tabs3 General Ledger Software, before testing. It is also a good idea to compare the files after copying with the DOS file compare program (FC.EXE).

If the problem is corrected when the program is run locally, further troubleshooting into the network is needed. The first step should be to apply the suggestions contained in our paper on redirectors.

Some computer's Power Management features can cause IPF problems in a network environment. We recommend disabling all power management features (both BIOS and Operating System level) on all computers including the file server.

Is the Problem Caused by Printing Issues?

Another category of IPFs can occur while you are processing checks, reports or statements. Although it might not be obvious, each of these processes triggers the use of several Windows components, including the printer driver and video driver. See KB Article R10820, "Troubleshooting Printing Problems in Windows Versions of Tabs3 and PracticeMaster Software", for more information about printing problems.

Is it the Video Driver?

Tabs3 frequently queries the video driver for information it needs when formatting and printing the document. A damaged video driver could cause an IPF. To correct this problem, install a different video driver by following these steps:

To install a different video driver:

  1. Quit all Windows software.
  2. Right-click the desktop.
  3. On the shortcut menu, click Properties.
  4. Click the Settings tab. Note the settings for the desktop area, color palette, and font size. You may need them if you want to return the display settings to their original state.
  5. If you are using Windows 2000/XP, skip to the section titled To load the Standard VGA driver for Windows 2000/XP systems.
  6. Click Change Display Type. Note the display adapter that is currently in use. You may need to know this if you want to return the display settings to their original state.
  7. For the Adapter type, click Change.
  8. Click the Show All Devices button.
  9. At the top of the list, for Manufacturers, click Standard Display Types.
  10. For the Model, click Standard Display Adapter (VGA).
  11. Click the OK and Close buttons to close the dialog boxes.
  12. Click Yes when Windows asks you to restart your computer. When the computer is restarted, your display will be in 640 x 480 x 16 colors.
  13. Run the program and try to reproduce the problem.

To load the Standard VGA driver for Windows 2000/XP systems:

  1. Restart the computer.
  2. Before the Windows 2000 or Windows XP splash screen appears, press F8.
  3. Select Enable VGA Mode, and then press Enter.
  4. If you are prompted to select the operating system, select the operating system that you want to start, and then press ENTER. The operating system loads the Standard VGA driver.

If you no longer encounter the error, you have solved the problem. The problem was a damaged or incompatible video driver. You should try reinstalling the driver or contacting the manufacturer of the video card for an updated video driver.

Does Reinstalling the Program Help?

Another possibility is that the program file or associated DLL file is corrupted. Reinstall the programs (i.e., both System Configuration and the specific application) on the file server. Also run the SETUP.EXE program located on the server for all workstations. Reinstalling all Tabs3 and PracticeMaster software is a relatively simple precaution to eliminate the possibility of corrupted DLL files. For more information, please see KB Article R11010, "How to Reinstall Tabs3 and PracticeMaster Software (Version 14 & 12)"; KB Article R10888, "How to Reinstall Tabs3 and PracticeMaster Software (Version 11)"; or KB Article R10695, "How to Reinstall Tabs3 and PracticeMaster Software (Version 10)."

Note: Reinstalling System Configuration updates various DLL files that are installed in the program directory. Rerunning the SETUP.EXE program updates various DLL files stored on the workstation's hard drive. For more information, please see KB Article R10678, "DLL Files Installed by Tabs3 and PracticeMaster Software".

Does the Problem Only Affect a Certain Record?

If the IPF is specific to a certain record, the data associated with that record may be damaged. Try deleting the record and reproducing the problem. It may be necessary to delete more than one record.

WARNING: BE SURE TO MAKE A NEW BACKUP BEFORE DELETING ANY INFORMATION!

OTHER POSSIBLE CAUSES AND SOLUTIONS

Are the Fonts Damaged?

A damaged font can cause an IPF when working with Tabs3 and PracticeMaster software (or any other Windows application).

Tabs3 and PracticeMaster software uses the following fonts: Sans Serif and Courier New. However, printers can be configured to use any font for statements and reports. (Note: Tabs3 and PracticeMaster Version 10 products could only use fixed pitch fonts.)

Once you have determined (or suspect) a damaged font, follow these steps to remove and reinstall the font.

Note: This procedure will remove the font from your system and will require you to be able to reinstall the font from its original source.

  1. Quit all applications.
  2. On the Windows taskbar, click the Start button, point to Settings, and click Control Panel.
  3. Double-click Fonts.
  4. Drag the font (or fonts) you believe may be damaged to your desktop (or to some other location outside of the font folder).

If the problem is corrected, you may have identified the problem as being a damaged font.

If Tabs3 and PracticeMaster software fails to work correctly, continue troubleshooting.

Using Safe Mode to Troubleshoot

If you have not resolved the error by now, try starting Windows in Safe Mode and reproducing the problem. Windows can be started in Safe Mode which prevents the loading of certain drivers and supporting files that can cause IPF errors if they are damaged or corrupted.

For more information and details about how to start your computer in safe mode, please see the following articles in the Microsoft Knowledge Base (http://support.microsoft.com):

Once your computer is started in Safe Mode, try to reproduce the problem.

REINSTALLING WINDOWS

If you still encounter the error in Safe Mode, then most likely the cause of the IPF may be a damaged Windows file. Reinstalling the Windows operating system may fix the damaged Windows file. After reinstalling Windows, try to duplicate the problem. Reinstalling your Windows operating system should not be attempted without the advice and assistance of a qualified professional.

REFERENCES

More in-depth information about troubleshooting exception errors is available in the Microsoft Knowledge Base (http://support.microsoft.com).


© 1999-2008 Software Technology, Inc.   All rights reserved. Terms of Use
The maker of Tabs3 and PracticeMaster
e-Mail Suggestions for the Knowledge Base to: kb@Tabs3.com
Technical Support via e-mail is not available.
Knowledge Base:   http://support.Tabs3.com
Web Site:   http://www.Tabs3.com