Our Invoicing programs store information in databases that may occasionally become corrupted. Like many other database programs, if the file is accessed improperly, or the function of the program is terminated unexpectedly or abnormally, the database that is being accessed by the Invoices program at the time may lose its integrity and begin to fail (partially or completely). Often a corruption of the file will become apparent when the Invoicing program is shut down due to a power outage, or if the Windows operating system of the computer is malfunctioning and forces the user to terminate the program through a forced restart (because of a system lock-up or "freeze").


A file corruption can take one of three forms:


1) The program immediately gives an error message when trying to open a file


Any one of the following messages may mean that the file you are trying to access is corrupted (these will often apear when the program is trying to launch itself with your last accessed file):

  • *FILENAME* cannot be opened due to possible data corruption
  • This program has performed an illegal operation and will be shut down
  • MFC Application Error - (PROGRAM) has encountered a problem and needs to close
  • EASYINV has caused an invalid page fault in module DOCUMENT.DLL
  • EASYINV has caused an invalid page fault in module KERNEL32.DLL
  • EASYINV has caused an invalid page fault in module MFC42.DLL
  • EASYINV has caused an invalid page fault in module MSVCRT40.DLL


This is not an exhaustive list and other messages may indicate file corruption as well. These, however, are the most common.


2) The program can initially access the file, but when the user tries to make a modification, the file crashes


Sometimes a file will be "readable" by the program, but making a change to the existing database will cause the file to crash. Often this kind of behavior will be apparent when you try to DELETE an invoice, or ADD a new invoice. Some error messages associated with this are:

  • This program has performed an illegal operation and will be shut down
  • MFC Application Error - (PROGRAM) has encountered a problem and needs to close
  • EASYINV has caused an invalid page fault in module REGISTER.DPL
  • EASYINV has caused an invalid page fault in module MFC42.DLL


3) The file crashes when you try to run reports


File corruption may exist if you are unable to run reports. The reports are simply stored calculations that crunch the numerical data from your invoices file. If the data is not valid, the report-running engine will halt and crash. Some error messages associated with this problem are:

  • This program has performed an illegal operation and will be shut down
  • MFC Application Error - (PROGRAM) has encountered a problem and needs to close
  • EASYINV has caused an invalid page fault in module CRPE32.DLL
  • EASYINV has caused an invalid page fault in module P2BXBSE.DLL


If you discover that your file is corrupted, do NOT continue to use the file. Immediately restore a "Backup" file made on a date prior to the problem's first occurrence.