» Home » uncategorized » Sage Pastel Error Status 146, File 31 acchistl.dat

Sage Pastel Error Status 146, File 31 acchistl.dat

The acchistl.dat file is specific to the company that you were working in.

Backup First

Start by making a backup of the acchistl.dat file in the company that you were working in.

There are 2 ways to rebuild the file in Sage Pastel

Sage Pastel Accounting Rebuild Utility

  • The file/s selected get renamed to xxx.old
  • A new data file is created
  • The information is copied from the xxx.old file to the new file
  • Should you receive a critical error the utility stops copying the information from the xxx.old to the new data file which will result in data loss
  • Restore a Backup of the dataset should you receive errors when rebuilding using the Sage Pastel Accounting Rebuild Utility

Pervasive Rebuild Utility

  • Pervasive rebuilds the data in the file/s selected
  • It does not copy nor overwrite any data
  • Should you receive a critical error it means the file is corrupted
  • You will need to restore a backup before you received the original error
  • Note: Should one of the rebuild utilities fail, you can attempt to run the other rebuild utility. You will need to Restore a Backup however before running the alternative rebuild utility.

How to use the Sage Pastel Accounting Rebuild Utility

  • Ensure that the Pastel Partner / Xpress program is closed on all computers
  • Open your Windows Explorer (Hold the Windows + E key on your keyboard simultaneously)
  • Navigate to the Pastelxx/Xpressxx folder (where xx represents the version on Sage Pastel Accounting you are running i.e. Pastel19/Xpress19)
  • Open the Pastelxx/Xpressxx folder
  • Double click on the Rebuild32.exe file
  • Note: This utility should not be run over the network but on the PC where the company data is saved locally, i.e. Server
  • The ‘Rebuild a Btrieve File’ screen will display:
  • Click OK on the message that will display advising the importance of having a backup before running the rebuild utility
  • Select the drive where the data is stored
  • Select the Company folder
  • Select the data files to rebuild
  • Click Rebuild
  • Once the rebuild is completed ensure at the same amount of records are rebuilt as records that exist i.e. 17 of 17 records
  • Should you receive a critical error message you can attempt the Pervasive rebuild, restore the backup made before the Sage Pastel Rebuild utility was run

How to use the Pervasive Rebuild Utility

  • Ensure that the Pastel Partner / Xpress program is closed on all computers
  • On Windows 7 go to Start | Programs / All Programs | Pervasive | the current version of
  • Pervasive | other utilities / Utilities | Rebuild
  • On Windows 8/10/11 search Rebuild, select the Pervasive Rebuild icon
  • The ‘Welcome to the Pervasive Rebuild Wizard’ screen will display, click Next
  • The ‘File Options’ screen will display, click Add
  • The ‘Browse/Open’ screen will display, navigate to the Company Folder
  • By Files of Type: change the option from Data Files to All Files
  • Select the Sage Pastel data files/s that need to be rebuilt from the list that displays i.e. ACCHISTL.DAT
  • Click Open
  • The ‘File Option’ screen will display showing the file/s selected, click Next
  • The ‘Rebuild Options’ screen will display
  • Do not make any changes
  • Click Next
  • The ‘Rebuild the Files’ screen will display:
  • Once rebuild you should see a message ‘The files were rebuilt successfully
  • Should you not receive this message it means the rebuild was NOT successful
  • A backup will need to be Restored before you received the original error message

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.