If clearing the HADB does not work, delete and then recreate the database.
For solutions 2 and 3, above, after clearing the HADB, recreate the session store to restablish the database schema.