How to run Repair Company
Description
Cause
Resolution
[BCB:1:Backup warning:ECB]




Note: Do not run Repair Company in the 2024.0 release, as it will error on the PDSIDMap.dat file, which is a new file related to Sage HR integration. Because of the error, the Repair Company process will stop on this file and not complete. 

This issue has been resolved in the 2024.0.1 update released December 2023, so if you are on 2024.0 and need to run Repair Company, installed the 2024.0.1 update first.


Section 1: How to run the Repair Company utility

The Repair Company utility is an option that will appear in your File menu after you have modified your program shortcut to load the Integrity Check utility.

  1. If Sage 50 is open, close it.
  2. Right-click on the Sage 50 icon and choose Properties.
  3. Place your cursor to the far right of the Target field, enter a blank space, add "-i" without the quotes, click Apply and then OK.
  4. Launch Sage 50 with the icon that you just modified.
  5. Go to File, Repair Company.

Section 2: What the Repair Company utility does

The Repair Company utility will reindex all of the .dat files in a company data folder. Depending on the file and the amount of damage, the reindex attempt may be capable of repairing the damage, or it may not.

Section 3: When to run Repair Company

  • The Repair Company utility is generally used to attempt repair on a file that cannot normally be reindexed using the Reindex File integrity check. Refer to  What files can be reindexed? for more information on those files.
  • Repair Company is also used to attempt repair on a database that is heavily damaged and there are no viable backups to be had. Restoring a viable backup is preferable to having to repair a badly damaged database using Repair Company.

[BCB:161:Chat 50 US:ECB]
Steps to duplicate
Related Solutions

Integrity Check Guide