user388969
user388969

Reputation: 341

Cannot delete a document in SharePoint Library which is not checked out neither opened for editing?

I am trying to delete a file in SharePoint 2013 Library. The file is not checked out to anyone and I am the site collection administrator of the site. when I open the folder using explorer view, it is blank.

When I open it using SharePoint designer then it says

SERVER ERROR: CANNOT REMOVE THE FILE. ERROR CODE:2.

Upvotes: 0

Views: 1476

Answers (2)

Geek Sado
Geek Sado

Reputation: 1

Try to create a new file on your computer with the same file name and extension and then upload it to the same document library then delete it.

Upvotes: 0

Emily Du - MSFT
Emily Du - MSFT

Reputation: 628

Could you delete the file through the SharePoint document library UI?

Whether the file has unique permission? How many characters does the name of this file have?

Please check whether the file is published and approved.

Upvotes: 0

Related Questions