Hello Guys,Got your reference from the IBM lotus forum regsrding a problem on notes
I have registered a certified user using C++ Notes API
In that process while “saving” one of the documents which i have created other than the the person document, i get this error
“Someone else modified this document at the same time”
Any idea…what could be happening?
I am using 2.1 C++ libarary and DLL
any help would be of great help
Sunil Rashinkar
Subject: RE: HELP HELP HELP —> “Someone else modified this document at the same time”
The “someone” could be you. If you’re doing multiple saves on the same document, and have multiple copies of the document in memory, you might be reading a document into memory twice simultaneously, modifying it in both cases, then trying to save it twice. This would result in the error you are seeing.
Another possibility – you’re saving the same document object twice, and there’s a server agent that processes new or modified documents. The server agent changes the document between your first and second save.
Subject: Re: HELP HELP HELP —> “Someone else modified this document at the same time”
If it’s not the person document, I don’t really know what to suggest without any more information.
I’d suggest checking the $UpdatedBy / $Revisions fields of the document to identify who made the change and when, and work backwards from there. And, as Andre suggested, it may in fact be another instance of you in another LNNotesSession.
-Mike