Domino & Notes error

Database [server]!![database] has not been opened yet

Also seen in Java as a NotesException.

What it means

The code is using a NotesDatabase object that exists but was never successfully opened.

Common causes

  • GetDatabase or New NotesDatabase pointed to a wrong server or path
  • The signer or user has no access to the database or server
  • Open failed and the code didn't check IsOpen

Quick fixes

  1. Check db.IsOpen before using the database
  2. Check the server name and file path, including subfolders
  3. Check the ACL and server access for the user or agent signer

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.