Search This Blog

Wednesday, June 10, 2015

Error on deleting folder in SharePoint 2010 - The file is currently checked out or locked for editing by another user

Issue Description

Today I ran into an issue with the deleting a folder in a SharePoint 2010 document library. The folder was empty (viewed with admin account too), but could not be deleted. On clicking the delete button I got an error message

"The file is currently checked out or locked for editing by another user."


I tried all possible ways to delete it (Explorer mode, Datasheet Mode, Power Shell), but failed to do so.

Fix
1. Browse to Document library settings -> Manage files which have no checked in version



2. On this page I found there was a file under the folder I was trying to delete and this file was checked out to a 
user. Check for the folder name under the Location column and confirm it.

3. Take ownership of the document and check in or publish a major version for the document.



4. Delete the folder now. This will work ;-)

No comments:

Post a Comment

Propellerads