I have enabled document locking in a database and set the master lock server.I am unable to lock any document in the database.I have manager access in the ACL.
I have tried the Lock Document option from Actions menu and I have tried the Notesdocument.Lock LS method.
Both instances I get an error message “Error 4000, Notes error: Field type (UNK) stored in document is invalid”.
I tried compact of the database and no luck,deleted and recreated index and still same error.
I have other databases that I use document locking and it works just fine.Please help.
I searched in the forum and couldn’t find any posts relating to this.
Thanks in advance.
Subject: I’m not sure, but…
… is there maybe something unusual about the documents? If you use the properties dialog from a view and look at the value of each item, are they all of a normal type? Can you write code to set a field and save the document when locking is not on? I’m thinking maybe this might not have to do with locking, but is a general error you would get whatever you do to the document.
Subject: Tried your suggestion…
I tried to set a field in a document and I got the same error message when document locking was enabled in the database.I disabled document locking in the database and tried setting a field and saving document.This time I didn’t get the error message.
The enabling of document locking seems to cause this problem.
When I have document locking enabled, I can’t edit a document from the Notes client,it just doesn’t allow me do it.
Please help…