Lotus Document Locking Not Working

I had document locking working, I then made it so when my form is opened it auto launches a excel spreadsheet OLE object, but now document locking is no longer working. Any idea's?
unknown45Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

qwaleteeCommented:
Wow, that's pretty generic.  What do youmean by "not working?"  You can put the doc in edit mode (not the OLEdoc, but teh Notes doc -- you can actually edit fields, while another user is also editing fields?)
0
unknown45Author Commented:
Sorry it was pretty generic... Multiple users can edit the same OLE and the same notes doc at the same time. I even manually right clicked on the document and locked it, but another user was still able to get into it.
0
Bozzie4IT ArchitectCommented:
Nope, still not enough information :-)

Have you set it up correctly ?  Can you see the locks ?  Have you got an Adminstration Server in the ACL ?
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

unknown45Author Commented:
Yes I have an administration server in the ACL. And when i open the documents it does not say locked and unlocked the status bar, but if i manually lock it, it does show locked and unlocked in the status bar.
0
rd153Commented:
What you can do is set up a querymodechange routine in lotusscript which checks that the user has the correct rights to place the document in edit mode.
0
qwaleteeCommented:
So, what you are saying is that lockig does work (user can lock manually), but "automatic" locking isn't working.  How did you set up automatic locking?
0
unknown45Author Commented:
When i manually lock it, in the status bar it will say document is locked, however another person can still open it. It says its locked... but it is not.

As far as automatic locking I did nothing but enable document locking in the database.
0
qwaleteeCommented:
OK, that clarifies things.  Notes is claiming the document is locked, when it really isn't.

And if you use a form in the database that does not have any objects on it, no problem, even now?
0
unknown45Author Commented:
I created a brand new form, nothing on it but 1 line of text. Saved the document, and locking still does not work. Even manual locking does not work.
0
qwaleteeCommented:
DIsable locking on the DB (all copies).  Compact (al copies).  Re-enable and re-compact all copies.
0
unknown45Author Commented:
I disabled locking , compacted, re-enabled and re-compacted and it still does not work.
0
Bozzie4IT ArchitectCommented:
When a document is locked, someone else can open it of course, just not edit it !  I hope you test for that ?

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
unknown45Author Commented:
*sigh* my mind is still on vacation i guess... Thanks Bozzie.... Ok document locking is working on my blank form. Now on the form that auto launches the attachment it does not work until the user closes the attachment. 2 People can open up the document, it auto launches the attachment, they make changes to the attachment and then who ever closes it first gets the lock and the other person can not save. Basically i need it to tell them its locked before the attachment is opened.
0
unknown45Author Commented:
Ok i just decided not to auto launch the OLE object, its ok to have them double click to launch it.
0
Bozzie4IT ArchitectCommented:
Ah those simple problems can be the hardest to solve :-)
0
qwaleteeCommented:
Well, then, you found a bug.  If I had to guess, there is a sequence of events when a doc is opened into edit mode, and the OLE launching code ocurs in that sequence before the lock request.  Further, hard to tell from that whether the first locker is failing to SET the lock until too late or whether the second locker is failling to CHECK the lock until too late.  Or both, actually.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.