locked
Looking for techniques to clear a lock condition on a file in SharePoint 2007 RRS feed

  • Question

  • Platform is SharePoint 2007 SP1 on Win 2003, Office 2010.

    User went into a library of a site they own, started to edit a file. Received a msg saying SharePoint was not available (transient problem that lasted a few seconds).

    When user tried to access again, Word 2010 indicated the file was locked by their login. It will not allow her to edit. However, SharePoint is not displaying the locked icon in the library, and the contextual menu has a Check out entry. If that is tried, the user is told the document is already checked out.

    This was 45 minutes ago, and the problem continues to exist.

    I tried opening the site in SharePoint Designer 2007, and within it, the document shows a locked icon. I try to uncheck the document out, and I get an error saying the document is not checked out.

    There is no load balancing on this site.

    Rebooting the production server probably isn't an option yet.  Does anyone have other things to try?

    Monday, April 16, 2012 12:48 PM

Answers

All replies

  • The most recent user just reported that after about 70 minutes the lock was cleared and she was able to edit the document.

    It seems like there should be something that could be written that checked the lock condition on both the office and sharepoint side of this situation and, if a lock is in one place and not the other, re-create the missing lock, so that the user could, their self, decide how best to resolve the issue.

    Monday, April 16, 2012 12:54 PM
  • That means the lockout is applied on the exe level rather than the SharePoint level.  In some scenarios (ask any old SharePoint 2003 veteran) the file would be locked locally via an NT login rather than having the SP lock applied.  The resolution to this is to close the file, wait 10 minutes and that lock will typically expire.

    In the 45 minutes you mention, has the document itself actually been closed?  If not, the count-down for the expiration won't begin.


    Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/

    Monday, April 16, 2012 12:54 PM
    Answerer
  • There is some good information here to understand check-out feature in sharepoint: http://sharepoint-administration-eu.blogspot.in/2012/03/sharepoint-document-check-out-feature.html

    I suggest to verify sharepoinr draft folder on user workstation and remove the local cached copy of document if any.

    Then check-out the file again with user account, and make sure you un-check the box to use local draft.

    Hope this helps,


    Regards, Rohan --Please mark as "Answer" if the post resolve your issue--

    Tuesday, April 17, 2012 6:43 AM