Peachtree Accounting / Sage 50 File Repair

Peachtree Accounting Software Technical Help


Troubleshooting I/O Errors

Return to Technical Documents Listing

I/O errors are Input/Output errors and mean that Peachtree may be having a problem reading or writing data to your computer’s hard disk. To correct these errors please follow these procedures:

Check Your Hard Disk for Errors.

From the Desktop, double click on the My Computer icon (Notice: Windows XP users may need to go to the start menu to access the My Computer icon), and highlight the drive you need to check. On the File menu, click Properties. Click the Tools tab. Under Error-checking, click Check Now. Under Check disk options, select the Scan for and attempt recovery of bad sectors check box.

WARNING: If you receive any message that tells you that problems were found, You need to have your data repaired.  Continuing to use Peachtree with resolving this problem will only result in more errors.  See our Data Recovery area on how to repair these damaged files.

I/O Error In EVENTLOG.DAT or AUDITTR.DAT

An I/O in EVENTLOG.DAT or AUDITTR.DAT indicates that you will need to delete this file. Peachtree will create a new empty file the next time that you open the company. You can then change back to period one, unpost and repost all journals, and Peachtree will recreate all system generated events. Unfortunately, custom events will be lost.

  1. Go to Start, Programs, Windows Explorer or Windows NT Explorer. Users on Windows XP may need to go to Start, Programs, Accessories, and then Windows Explorer.
  2. Click on the plus sign next to the program directory.
  3. The default location in Release 2003 would be under the PEACHW directory on the drive where your data is stored. If you are using Release 2004 or higher, the default location would be in the COMPANY directory on the drive where your data is stored. NOTE: If you performed a custom installation, you may have used a directory name other than the default, you will need to know this directory name.

    Locate your company subdirectory inside the program directory. Your company directory will be a shortened version of your full company name. Click once on your company folder to view the contents on the right.

  4. Click once on the small icon next to the file Eventlog.dat or AUDITTR.dat to highlight it.
  5. Go to File and select delete.
  6. Exit Explorer and open your company in Peachtree. Click Yes when you are prompted to create a new empty file.


I/O Error In RPTDATAI.DAT or STATUS.DAT:

This problem is most easily corrected by deleting the file and reinstalling the program.

I/O Error in File “XXX.DAT”

Peachtree cannot read or write from or to a particular file. This can happen for many reasons, like the file in question being on a bad sector of the hard drive. If the I/O error you have received refers to a specific file, with the exception of eventlog.dat, audittr.dat, rptdatai.dat, or status.dat, you will need to use Peachtree’s utility called Integrity Check to reindex the file, which will rebuild it.

Install the Integrity Check.

Warning: It is vital that you back up your company before you use the Integrity Check; if the procedure is not successful, you may lose valuable data. This procedure can take a very long time depending on the size of your data files.

If your company has passwords, please use the password that provides unlimited access.

Important: Integrity Check is not to be used casually. While it is very useful, it does not repair all data problems and in some instances can cause other problems when more than one test is run simultaneously or unnecessarily. Therefore this utility is not readily accessible from the program menu. Peachtree strongly recommends that the Integrity Check should be used only after consulting Peachtree Customer Support, a FAQ from Peachtree's web site.

If you are on Release 2006:
  1. Select Start, and then select Run.
    • On the Open line, type
      “C:\Program Files\Sage Software\Peachtree\Peachw.exe” -i
      (where a space, minus sign, and the letter i follow the EXE).
      (C:\ Program Files\Sage Software\Peachtree is the default directory where Peachtree is installed. Where C: is the drive Peachtree is installed on, and Peachtree is the folder you installed Peachtree into. If you installed to a different directory, change the above path to reflect that location.

    • Click OK to open Peachtree.

      Peachtree will open and Integrity Check will now be available from the File menu. Proceed to 2.

    If you are on Release 2004 or 2005:
    1. Select Start, and then select Run.
      • On the Open line, type
        "C:\Program Files\Peachtree\PEACHW.EXE" –i
        (where a space, minus sign, and the letter i follow the EXE).
        (C:\Program Files\Peachtree is the default directory where Peachtree is installed. Where C: is the drive Peachtree is installed on, and Peachtree is the folder you installed the Peachtree program into. If you installed to a different directory, change the above path to reflect that location.

        Figure 1 – Release 2004 and 2005:


      • Click OK to open Peachtree.

        Peachtree will open and Integrity Check will now be available from the File menu. Proceed to 2.

      If you are on Release 2003:
      1. Select Start, and then select Run.
        • On the Open line, type C:\PEACHW\PEACHW.EXE -i
          (where a space, minus sign, and the letter i follow the EXE).
          (C:\PEACHW is the default directory where Peachtree is installed. Where C: is the drive Peachtree is installed on, and Peachw is the folder you installed Peachtree into. If you installed to a different directory, change the above path to reflect that location.

          Figure 1 – Release 2003:


        • Click OK to open Peachtree.

          Peachtree will open and Integrity Check will now be available from the File menu. Proceed to 2.


      2. Always make a Backup of your data and give it a unique filename, if you are backing up to your hard drive. If you are making your backup to floppy disks, use new disks. Do not overwrite a previous backup.

      3. Select File, Integrity Check.

      4. In the File Tests box in the upper left of the screen, select the Reindex checkbox. The “Reindex Files List” box will now be available just to the right. Click once on the file that was identified in the "I/O" error message. Click OK to begin the reindex process. The length of time it takes to reindex depends upon the amount of data you have in your file. Do not interrupt the process once it has started.



      If this does not correct the problem, or if you receive errors during the integrity check, you should then restore from a backup made before the I/O error occurred.

      If you do encounter errors while the file is being reindexed, then the file being checked is too corrupt to be recovered. Typical errors that indicate corruption are “Error 22” or “Error 54” or additional I/O errors during reindexing. The only solution in this situation is to either restore a backup prior to the time when the errors began or start a new company.

      I/O Error in Variable Length Part of Record in File XXX.dat

      Peachtree displays this error message when the file it is trying to read or write to is corrupt, or damaged beyond the capability of repair. DataSoft can repair these errors.  You can submit your data on line using this web site.

      To prevent I/O errors in the future

      Having updated drivers for your network interface cards and other devices will go a long way toward preventing I/O errors. Visit your card manufacturer’s web site frequently to check for updates.

      Return to Technical Documents Listing

      Keywords: Troubleshooting I/O Errors peachtree accounting IO error

      Copyright © 2007 - 2014  DataSoft. All rights reserved.
      All other trademarks and copyrights are the property of their respective holders.
      Privacy Policy |  Comments/Questions  | Site Map