Hi,
We have a Note 5 database running on a notes 6.02 server. Just recently,when creating a certain document, it comes up with the error - “The Document is currently opened for edit by USERNAME/BLAH”.
It then goes on to say - “The document is already locked by USERNAME/BLAH”
A number of things here that make this odd.
-
It is a notes 5 database so locking should come into it
-
On the properties tab - locking is turned off anyway
-
The document where the message is coming from is a NEW one being created as a doc and then being displayed as a UIDoc via workspace.editdocument. The first message comes at this point.
-
the second message comes after the doc has loaded and it is being forced into edit mode (I’ve inherited this so I’m not sure why its forcing edit mode on a new doc - i’ll check that out).
-
This doesn’t happen for all users just when a couple of specific ones are logged in.
Anybody any ideas?
Thanks
Subject: I moved from a 4.6 db to 6.5 database - same problem
I cannot address your server question since I am a developer, but I do know that when a document is in use in Version 6 of the software that I cannot access it, either, and get the same message, until the current user closes out. I believe from my reading the help that document locking is a built-in default for 6, and I have not discovered how to disable it (yet). Have only been in this version about 2 weeks and it doesn’t happen frequently. Just commiserating, I guess. I hope someone else has more information because I’d like to figure out how to disable it, since I had built in my own document locking into my original design. Good luck! Cathy
Subject: RE: I moved from a 4.6 db to 6.5 database - same problem
Hi Cathy
Glad it’s not just me then! (nothing personal)
Have you checked databse properties - ‘Allow document locking’ to see if yours is enabled enabled.
Subject: Difference between “softlocks” and “hardlocks”
The database properties allows you to enable hardlocks for document and design editing.Softlocks were implicitely always enabled in version 6.
As of version 6.51, you can disable the auto-softlocks via this notes.ini setting:
EDIT_NO_SOFT_LOCKS=1
Thomas - IBM
Subject: RE: Difference between “softlocks” and “hardlocks”
Thanks, Tom - I will try this - sounds like my problem - hope it helps the other Cath, too. Cathy
Subject: RE: Difference between “softlocks” and “hardlocks”
Hi Thomas,
Thanks for that unfortunately:-
-
I don’t actually understand what you mean by softlock and hardlock.
-
The lock is actually working on a newly created document (ie it doesn’t even exist yet for someone else to have put a lock on it). Why on earth would that happen?
-
Is there not an update to 6.0* I could use rather than going to 6.5
Thanks
Subject: The new notes.ini setting also works in 6.03.
Subject: RE: The new notes.ini setting also works in 6.03.
Thanks to you all for your input. I shall try this today and post my results.
Subject: RE: The new notes.ini setting also works in 6.03.
Tried it - Didn’t work. locking still applies.
As an aside, am I right in thinking that the soft lock makes it display the message to say someone is editing it and the hard lock makes it display the message that the document is locked? If so then would the soft lock ini entry not just stop the former message.(not that it does in my case).
Subject: RE: Difference between “softlocks” and “hardlocks”
CathSoft Locking is a Notes 6 feature that always runs which prevents 2 users from editing the same document at the the time on the same server. (Lot’s of sames there!)
Please read the following Technotes in the Lotus Notes Knowledgebase for more information:
7003259
1100606
Thanks.
Rm