I used the code in the following post to identify the person who has a lock on the document...
http://answers.laserfiche.com/questions/98818/Determining-in-the-SDK-the-user-name-holding-a-lock
When I call EntryLockListing.GetListing(0, lockListSettings, entryInfo.Session) (entryInfo is a reference to my documentInfo class) I get the following exception..."The object must have its connection set before it can be used".
Can anyone help me resolve this please?
Also, I find it curious that even though the document is locked the IsLocked and IsPersistentLock properties are both false and the EntryLock is null. I am checking these properties but since they are null get an LockedObjectException whenever I try to modify the document. I would expect on of the "IsLocked" properties to be true and the EntryLock to not null. I have the document locked because i am modifying the metadata in Web Access. Why are these not set correct?