Error: "Data files for XXX have not been converted. You must convert before activating." in Sage 100

Summary

Error: “Data files for XXX have not been converted. You must convert before activating” (where XXX is the company code) when activating or copying a company in a Sage 100 installation, if third party modifications are installed Data cannot be converted

Description

Issue can be caused by 3rd party modifications. One example:
When copying company getting error “data files must be converted before able to select modules in company. Partner was able to debug sy_companyCopu_ui to find out issue was dye ti DataSubLevel values did not match in the WM_options (enhancement) and SY_module table.

Cause

This error is caused by the installed modifications. The master developer who created the enhancement should be contacted to report the issue.
During conversion, anti-virus software was scanning the “..\MAS90” directory on the server where Sage 100 is installed

Resolution

 CAUTION: Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions. If necessary, seek the assistance of a qualified Sage business partner, network administrator, or Sage customer support analyst.

Look for “.Not Setup” folders in the Data Directory:

  1. Open File, Run and type in *Info
  1. Click OK
  1. Browse to the \MAS90 folder listed here via Windows Explorer or Start, Run in Windows
  1. Rename any “.Not Setup” Folders and their matching XXyyy folder
  1. After renaming each one, go to Modules, Library Master, Company Maintenance
  1. Select the affected Company Code
  1. Click “Activate”
  1. If the Message “Data files must be converted” appears, then the module that was renamed is not the cause
  1. Repeat this procedure until the “Activate” dialog comes back by renaming in this order:

∙ .Not Setup Folders

∙ Modules that are not setup but appear in the MAS_xxx folder

∙ 3rd Party Modifications

∙ Legacy Modules

  1. Once the activation screen appears (see below screenshot), the last renamed module is the cause of the error message. Rename each folder back one by one, each time repeating the “Activate/Cancel” procedure in Company Maintenance
  1. If the module causing the error is a 3rd party module, contact the Developer responsible for the modification for instructions on how to proceed
  1. Consult the Installed Modules Listing under Library Master, Reports in order to determine the developer responsible for the modification(s).
  1. In a few isolated incidents, this message has been caused by a Legacy module that was setup but not used.

NOTE: Do not click the “ACTIVATE” button in a live company as this will create new data files

If the issue persists:

  1. Copy the MAS_SYSTEM\SY_EnhancementModule.M4T file to a directory outside of the MAS 90 directory.
  1. Expand Modules, Library Master, and Utilities. Double-click Data File Display and Maintenance.
  1. In the File Name field, select the SY_EnhancementModule.M4T file.
  1. Click the Delete button to delete all records in this file one by one.
  1. Rename the …\MAS 90\Links folder.
  1. Create a temporary Links folder and copy the default.pvc file from the old Links folder.
  1. Proceed with the copy or activation process.
  1. Delete the temporary Links folder, and rename the original Links folder (to Links in the \MAS 90\ directory).
  1. Delete the …\MAS_SYSTEM\SY_EnhancementModule.M4T file and restore the original file (from the backup created in previous steps).

∙ Disable Anti-Virus

Run Conversion from Sage 100 ERP Server