Turn off Microsoft CRM 2011 5000 limit on data retrieval via SDK

With CRM 4.0 and Microsoft CRM 2011 there is a default limit for the number items that can be retrieved when making various types of web service calls into the CRM.
Typically this limit is set to 5000 but with some types of calls it will return 7000. In any case, the process to remove the limit and set it to 20,000 is very easy.
On the server running CRM

  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then select the following registry subkey:HKEY_LOCAL_MACHINE\Software\Microsoft\MSCRM
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type TurnOffFetchThrottling, and then press ENTER.
  5. Right-click TurnOffFetchThrottling, and then click Modify.
  6. Type a number other than 0 in the Value data box, and then click OK.
    Note Step 6 lets you retrieve the number of records specified in the Count attribute of your fetch statement.
  7. On the File menu, click Exit.

17 thoughts on “Turn off Microsoft CRM 2011 5000 limit on data retrieval via SDK”

  1. Pingback: CRM 2011 – 5000 record limit on data retrieval via SDK « Hosk's Dynamic CRM 2011 Blog

  2. Pingback: CRM 2011 views: getting more than 5000 records « MayankP's Blog

  3. Pingback: Límites de tiempo y otros límites de CRM 2011 | El Blog CRM

  4. Pingback: Microsoft CRM 2011 Timeouts and Limits - Yaniv Arditi

  5. Pingback: CRM2011 and C# : Avoiding the 5000 records limitation. Paging Retrieve Multiple Results. | hachecrm2011

  6. Pingback: Microsoft CRM 2011 Tiempos de espera y límites - El blog de Rafa Ansino en Geeks.ms - Geeks•ms

  7. Pingback: CRM 2011 Timeouts and Limits « Marcello Tonarelli Blog

  8. Hi,
    Very interesting so how to do it with crm online.??
    EntityCollection list_contacts = service.RetrieveMultiple(new FetchExpression(fecthContactsActifs));
    5000 ONLY RETRIEVED while i got more
    Thank u for you answer.;;;???

Leave a Reply

Your email address will not be published. Required fields are marked *