Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Getting exception as Number of parameters in a condition exceeded maximum limit while updating multiple records one by one

$
0
0

Hi everyone,

I have used below piece of code in the API ,which I am using for updating entities related to contact entity:
orgService.Update(entity);

I am sending Contact entity one by one to API and then I am using above method call for updating entities related to it. 

But after updating entities for some contacts, its throwing exception as below:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Number of parameters in a condition exceeded maximum limit. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).


Viewing all articles
Browse latest Browse all 46379

Trending Articles