Home
%3CLINGO-SUB%20id%3D%22lingo-sub-571791%22%20slang%3D%22en-US%22%3EUnable%20to%20delete%20file%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-571791%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20TECHNET%20on%20Jan%2023%2C%202018%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20Hello%20All%2C%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Recently%20I%20had%20a%20customer%20contact%20me%20with%20an%20issue%20in%20one%20of%20their%20document%20libraries%2C%20when%20they%20tried%20to%20delete%20a%20group%20of%20documents%20thru%20the%20GUI%20they%20got%20the%20error%20'File%20not%20Found'.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F113630i6748034EA604AAB6%22%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20As%20well%20when%20they%20tried%20to%20access%20the%20documents%20using%20CSOM%20they%20got%20an%20error%20'Exception%20calling%20%22ExecuteQuery%22%20with%20%220%22%20argument(s)%22%20%22File%20Not%20Found.%22%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F113631iC101B3B71D42BA8B%22%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20The%20solution%20in%20the%20end%20was%20rather%20manual%20but%20very%20simple%2C%20to%20change%20the%20name%20of%20the%20document%20then%20delete%20it%20via%20GUI%20or%20PowerShell%20and%20since%20it%20was%20a%20small%20hand%20full%20of%20documents%20that%20was%20what%20we%20elected%20to%20do.%26nbsp%3B%20If%20you%20have%20a%20large%20number%20of%20documents%20I%20would%20recommend%20calling%20support%20and%20working%20with%20them%20to%20clean%20up%20the%20documents.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Pax%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-571791%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Jan%2023%2C%202018%20Hello%20All%2CRecently%20I%20had%20a%20customer%20contact%20me%20with%20an%20issue%20in%20one%20of%20their%20document%20libraries%2C%20when%20they%20tried%20to%20delete%20a%20group%20of%20documents%20thru%20the%20GUI%20they%20got%20the%20error%20'File%20not%20Found'.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-571791%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edelete%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efile%20not%20found%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPO%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
First published on TECHNET on Jan 23, 2018
Hello All,

Recently I had a customer contact me with an issue in one of their document libraries, when they tried to delete a group of documents thru the GUI they got the error 'File not Found'.







As well when they tried to access the documents using CSOM they got an error 'Exception calling "ExecuteQuery" with "0" argument(s)" "File Not Found."





The solution in the end was rather manual but very simple, to change the name of the document then delete it via GUI or PowerShell and since it was a small hand full of documents that was what we elected to do.  If you have a large number of documents I would recommend calling support and working with them to clean up the documents.

Pax