Resolving Error: Bad checksum when opening tests

Resolving Error: Bad checksum when opening tests

If you get the following error when trying to load or edit a test program, you have database corruption:

Error: dmDatabase.TDataAccess.RunQuery: Exception fired.
Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements.
Database file appears corrupt ().
Bad checksum

It is recommended that you fix the database. However, this may not be immediately possible, plus you still need to test. For the time being, you may be able to archive your broken program and save it as “new” without the corruption.  Here’s how:

Open the culprit program (click on “Edit/View”) and ignore the error message that comes up. Choose “Save As” and give the test program the same name.

Note: Depending on the database corruption, this may not work. If this is the case, the database will need to be repaired.