The solution is to change the database id for the archive database. To do this you will:
1. Shut down the broker to the Archive system
2. Execute the following on the Archive database to reset the database id to 0:
update hartableinfo set databaseid = 0;
(there's only 1 record in this table so no need for a where clause)
3. Restart the broker and try the hmvproj command again.
When hmvproj runs again it will notice that the database id for the archive database is 0 and will assign a new valid database id to the archive database. All should be resolved after this.