Hi,
I need to retrieve all the contacts I have in my CRM system. I'm using this code :
QueryExpression allcontacts = new QueryExpression();
allcontacts.EntityName = "contact";
ColumnSet cset3 = new ColumnSet();
//cset3.AllColumns = true;
cset3.Columns = new string[] { "contactid" };
allcontacts.ColumnSet = cset3
EntityCollection result = (EntityCollection)_service.RetrieveMultiple(allcontacts);
I'm receiving an exception that :"The maximum message size quota for incoming messages (65536) has been exceeded."
Am i doing something wrong or the Entitiy collection cannot retrieve all the contacts i have ? (Note that my contacts do not exceed 500 contacts)
Thanks,