I have a database, mainly accessed via a web browser, where document locking is enabled.
Users authenticate to this database from one of two different Address Books, and there are two replicas of this database on different servers.
The document locking process works via an agent called during the WebQueryOpen\Close events that is set to “run as a web user”.
Server A is set as the Administration server, but does not hold a copy of both address books. Therefore the issue I am experiencing is that when a user from Server B requests a lock be placed, the notesdocument.lock method returns “Error 4000: Notes error: You are not authorized to perform that operation”.
I believe that because the web agent is running under the users ID, when the lock request is made to Server A - it doesn’t know who they are so rejects the request.
I was hoping that Setting the Provisional argument of the lock method to True would resolve this issue but it makes no difference.
Do I have any other options available other than registering the sencond Address book on Server A (The Admin Server)?
Many Thanks…