The simple solution here is to do an export of each BSV, then do an sql dump of your BASDB. You now have a full backup of your system
Delete BASDB and BASDBTest
Re install awareim
Recreate each BSV and import each version BSV and publish each one
Restore BASDB from the sql dump taking care not to restore any system tables - only tables related to your application data must be imported
Before proceeding inspect the basdb with a suitable database editor and check to see if there are any tables that should not be there ie Maybe from a previous demo bsv or an old bsv that you deleted and the deletion did not carry through to basdb. - delete these
You now will have a clean system behaving normally
Also, make sure you have more than one backup and VERY IMPORTANT if you have never done this before,, practice by doing a simulation on another machine using a trial version with your live data. This will make sure you don't loose data and get yourself into a mess when you do the real thing