0
votes
1answer
22 views

Deleting a single item from RecycleBin gives error “operation is not valid due to the current state of the object.”

I have below code , but it gives mentioned error on ExecuteQuery() after item.DeleteObject(). Site collSite1 = _ctx1.Site; RecycleBinItemCollection collRBI1 = collSite1.RecycleBin; ...
1
vote
2answers
2k views

Client Object Model : “Microsoft.SharePoint.Client.ServerException: The request uses too many resources”

When deleting 1000+ (link) items from a list in one batch using the COM, I encountered this exception : Microsoft.SharePoint.Client.ServerException: The request uses too many resources It seems ...