Friday, December 22, 2006

Lotusscript and DB open


So this morning when I came into work I noticed a Lotusscript agent I had wrote was no longer working. When it ran I received the error message above. The ironic thing is how this agent had worked fine for weeks now. After a little research I ran into this helpful tip through Notes/Domino help forum.

When trying to open a DB with Lotusscript

Dim db As New Notesdatabase ("ServerName", "Database.nsf") does not always open the database according to Mika Heinonen.

To prevent this problem in the future use:

Dim db As New NotesDatabase ("", "")
db.Open "ServerName", "Database.nsf"

Happy Holidays!

No comments: