Explanation

This is caused by a corrupted table, usually the Account Code table

Resolution
  1. Open the DBBrowser, to see what table pops up as corrupted
  2. Replace that table with the same table from the DemoData3 file
  3. Test
  4. If a table other than the AccountCode, you may have to run a query to insert the data (use the appropriate table name and location of the original data
SQL
INSERT INTO "Order Database"
SELECT * FROM "C:\Program Files\Cyrious\SMS\Data\Bad Order Database"
You could leave a comment if you were logged in.