Error: Database Intranetservicio.nsf has not been opened yet

What is the error: AMgr: Agent ('Actualiza Datos Admin' in 'intranet/estacallcenter.nsf') error message: Database Intranetservicio.nsf has not been opened yet.

I am trying to run an agent in a database that opens another database, it is located in a view and stores some fields of the documents of this view.

It's hard to be sure without seeing the actual code, but there are two common reasons for this error:
  1. A background (scheduled or Web) agent that is trying to access a database on another server, which is not allowed. (R6 has new security settings that can be enabled to work around this previous limitation.)

  2. The user who triggered the agent (or, if it's a background agent, the ID of the user who signed the agent) does not have rights to open the Intranetservicio.nsf database.


Do you have comments on this Ask the Expert question and response? Let us know.

This was first published in February 2005