I get the following error when I try to check out a document from a document library in SharePoint that has been recently edited:

The file "[file name]" is checked out or locked for editing by "[username]"

I don't understanding why I'm getting this error because I just recently checked in the document under the username mentioned above and it does not show up as being checked out in the UI.

How can it be that this file is checked out/locked for editing?


5 Answers 5


I ended up finding my answer on the Microsoft Support pages. It turns out if the user selected "Edit in [client application name]" to edit the document then after they check it in there is a 10 minute delay before the write lock on the document is released. Below is a link to the support page where I found my answer.



You might want to try: From the document library > Settings > Document Library settings > Manage checked out files


In our case, the answer was to clear the Credential Manager entry. Visit the below URL.



If you have Microsoft Office Upload Center installed on your local system then consider clearing cache from settings. Everything should work fine.

optionally, you can create a action to release the lock programatically.


If you do not want to wait 10 minutes, the real solution is here


  • 3
    Explain the solution, not just link somewhere else.
    – JayHell
    Commented May 3, 2016 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.