The database can be opened when referencing a dictionary, only. Open the dictionary before opening the database.