Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can a site administrator remove a short term lock on a SPListItem.SPFile object? This happens when a user opens a Office document for editing from a list without doing a checkout. If the user does not close the document an administrator cannot remove the shortterm lock.

At the moment, i want unlock that SPFile. Please help me!

share|improve this question

migrated from stackoverflow.com Jul 3 '12 at 13:45

This question came from our site for professional and enthusiast programmers.

1 Answer 1

MS recommends waiting 10 mins or rebooting the server. http://support.microsoft.com/kb/899709/en-us

Sometimes (mostly) that won't work so try out this code. http://www.codeproject.com/Articles/93965/Force-SharePoint-Document-Unlocked-Checked-In

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.