What code are you using to open the DB?