Sunday, September 4, 2011

SharePoint 2010 - The file is currently checked out or locked for editing by another user


Today I faced an issue with the deletion of a folder in a SharePoint 2010 document library. The folder was empty (viewed with admin account too), but could not be deleted.

Clicking the delete button resulted in the popup stating:
"The file is currently checked out or locked for editing by another user."

Tried deleting via all possible means (Explorer mode, Datasheet Mode, Power Shell), but with the same result.
Some blogs suggested deleting using SharePoint Designer 2010, but could not find a way to do so using SPD. Would be grateful if someone pointed out a link where it is explained how to view list/doc lib items using SPD and working upon them.

While researching the issue I browsed to:
"Document library settings --> Manage files which have no checked in version"

On the resulting page I found there was a file under the problematic folder and this file was checked out to a user. Look for the folder name under the Location column.

Took ownership of the document and published a major version, after which I was able to delete the folder :)

11 comments:

  1. Thanks for this suggestion. Your post saved me from this annoying situation.

    ReplyDelete
  2. Thank you. I've lost more time than I'd care to admit on this issue.

    ReplyDelete
  3. Thanks for this solution. This was an extremely annoying issue. I'm the SP admin but I couldn't see the "checked out" files!!

    ReplyDelete
  4. Thank you so much! Brilliant find.

    ReplyDelete
  5. So good - I was about to lose my shit! Thank you.

    ReplyDelete
  6. Saved my life! or at least from a lot of stress!

    ReplyDelete
  7. Outstanding! So glad this was here.

    ReplyDelete
  8. Thanks fo your help. Saved me time and wasted effort.

    ReplyDelete
  9. Thanks for your help!! good good good!!!

    ReplyDelete
  10. Thanks for your help

    ReplyDelete