Occasionally, users are getting a “91: Object variable not set” error message when they OPEN a particular database. We can’t recreate this on demand. The database is used from Notes only.
I have turned on Debugger prior to opening the database, and it shows me no script processing.
The database launches a designated navigator which opens a view initially. There is no script used in the view. There is no database script code.
Subject: Solution - Riddle: What script is running when opening a db?
The people who were getting the error all had their preview pane showing. When opening the database and the ‘About’ document was displayed, the postopen code on the document being previewed was being run. It was a combination of the’About’ document and the preview pane. Hope this can help someone in the future!
Subject: RE: Riddle: What script is running when opening a db?
We can’t recreate this on demand. For example, it has happened once a day this week and each time to a different person. If they leave the database and come back, they open it with no error.
The more I think of this, the weirder it is … because how I know who/when the errors occur is that I get an email from the error routine. I contact the user right away and they say all they’ve done is open the database. BUT the only error routine in the database that sends this email with that subject line is in a button on the view that composes a new document. And the users are getting this error when they are first opening the database, not clicking on that button.