The bug is back! Database "Names.nsf" has not been opened yet

This bug from R5 seams to reappear in 8.0.2. Any known workaround? Restarting the server is not an option.

Back-End LotusScript Fails to Open a Database, Typically the Public NAB (Names.nsf)

Technote (FAQ)

Problem

You are running a LotusScript agent or performing an operation that triggers a LotusScript agent that accesses a database on a Domino server. The agent uses back-end LotusScript classes to get a handle to the database object. The agent works fine for a time, but then fails indicating that a database has not been opened. This issue typically occurs when you are attempting to access the Domino Directory (Name and Address Book / NAB). The typical format of the error message is:

“Database !! has not been opened yet.”

Subject: Re: Bug

Hi Dirk,

I am unfamiliar with this issue, but just had a quick thought so I figured I’d ask just in case. Is the issue

Database Version, Client Version, and/or Server Version specific?

What I am wondering is - if the issue is specific to the Database Version/Template itself, it may be possible the Template/Database Design didn’t update properly and still has R5 design elements?

Again, just a thought.

Have a good day Dirk and good luck!

Regards,

-Bob

Subject: 8.0.2 version specific

Hi Bob,Thanks for giving it a thought.

I seems version specific. The problem occured after upgrading from 8.0.1 to 8.0.2 for both server and client. As in the technote: the code works fine for a certain period, when it starts giving the error the only remedy is restarting the server.

Dirk

Subject: Database damaged?

Same error here, Lotus Notes client 8.02 and the error is intermittent.

The following link suggests the error might appear because the db is damaged:

http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=/com.ibm.designer.domino.main.doc/H_ISOPEN_PROPERTY.html