"Run-time error '-2147217887 (80040e21)" This error is received after an upgrade has been performed and the company is trying to be set as Default. The full error message received is: Run-time error '-2147217887 (80040e21)':The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship.
This error is typically a sign of damage to the specification set. To correct this error, follow these steps:
Click Company and then click Specification Set.
Select the Specification Set from which you want to export the report.
In the Export Selection dialog box, click the Catalogs and select all. Click the tabs for Rows, Columns, and Trees and select all for each tab.
In the Create Export File dialog box, select the drive, folder and file name where you want to export to. The file must be saved with a .TDB (temporary database) extension.
To import the reports, click Company and then click Specification Set.
Click New to create a new Specification Set.
In the Locationbox, leave the default location or select the drive, path, and file name for the specification set.
In the Select Import File dialog box, select the drive, folder and file name where the *.TDB file was saved.
Click Company and then click Information. Assign the new specification set to the company record.
If this article does not resolve your issue, please contact your FRx support provider.