Environment: SharePoint 2013.
Requirement: Download all images from SharePoint Picture Library using Web Service.
Problem:I have to download pictures from SharePoint Library from a remote SharePoint Site.
I have added web reference
“ http://mysites.mydomain.com/_vti_bin/Imaging.asmx”;
I am getting below exception.
How to handle Large Lists where List View Threshold is enabled.
I don’t have access to Central Admin, I need to override List View Threshold using Web Service only.
Exception on the Line:
XmlNode ndListItems = objLists.GetListItems("User Photos", null, myQuery, myViewFields, null, myQueryOptions, null);
Exception Details:
Message:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
InnerText:
The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.0x80070024
Thanks in advance.