Database throws exception when trying to open an unavailable database.