Hello, running the C&S update agent 4.0.2.6 (admin). I’m getting this error while running the script, causing it to loop. If I remove the mailbox that it occurs on, it doesn’t happen. The technical document on this script mentions the error, but doesn’t give a reason why it’s happening.
2/26/2007 7:38:21 AM: Error number 91 (Object variable not set) occurred at line 284
“Error Number 91 (Object variable not set) occurred at line ”
This error can be observed in C&S agents, typically as a secondary error that follows a error 9, 4000 or 4005 that occurred within the UpdateCalProfile or UpdateiNotesProfile subroutines. The line number will coincide with the following code line: “Set viewEntry = viewEntries.GetNextEntry(viewEntry)”. Additional error checking was added in version 4.0.2.5 to provide these subroutines with their own error handling section, which will avoid this error and therefore avoid the loop issue.
Subject: RE: Still getting error 91 using C&S agents
I haven’t tried the remote debugger yet. I didn’t see any info on that in the C&S document. Is there a document that would show me how to set that up? Sorry for the questions, this is my first foray into LotusScript.
Subject: RE: Still getting error 91 using C&S agents
Update: There’s a fix coming out on this, it will be 4.0.2.7!
Using the 4.0.2.6 admin agent, I also got the error 91, but the errors were:
2/28/2007 11:36:41 AM: Error number 91 (Object variable not set) occurred at line 284
2/28/2007 11:36:41 AM: Error number 91 (Object variable not set) occurred at line 533
(this line 533 one would repeat indefinitely).
None of the solutions I found on the agents page applied, at least not that I could understand. What it turned out to be was that it failed on databases that didn’t have a profile document. It’s obvious when you open the database it doesn’t show a name for whose mail or calendar it is. Here’s where it failed in the script: