CRM 2011 Timeouts and Limits
Timeouts
Single SQL query timeout
- Defaults to 30 seconds
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\OLEDBTimeout
- http://support.microsoft.com/kb/918609
ASP.NET timeout
- Defaults to 1,000,000ms
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\ExtendedTimeout
- http://support.microsoft.com/kb/918609
executionTimeout
- Specifieds the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET
- Defaults to 110 seconds
- web.config - <httpRuntime executionTimeout="300" maxRequestLength="8192"/>
- http://support.microsoft.com/kb/918609
maxRequestLength
- Specifies the limit for the input steam buffering threshold, in KB. This limit can be used to prevent denial of service attacks that are caused, for example, by users posting large files to the server.
- Defaults to 4096 KB
- web.config - <httpRuntime executionTimeout="300" maxRequestLength="8192"/>
- http://support.microsoft.com/kb/918609
Sandbox Isolation timeout
- Defaults to 2 minutes
- http://social.microsoft.com/Forums/en/crmdevelopment/thread/1bae17ca-9a69-41a4-a85c-358a87f32c26
Limits
Fetch Limits
- Link-entity limit
- Filter limit
- 2097 per <filter> element
- http://blog.halan.se/post/CRM-Fetch-XML-Size-Limit.aspx
- Fetch Aggregate Limit
-
- Specifies the upper limit of records that can be aggregated
- Default is 50,000 records
- Can be updated with UpdateAdvancedSettingsRequest
- http://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.deployment.updateadvancedsettingsrequest.aspx
- Query Result Limit
- Default is 5,000 records
- http://www.interactivewebs.com/blog/index.php/server-tips/turn-off-microsoft-crm-2011-5000-limit-on-data-retrieval-via-sdk/
- *Excluding LINQ provider which will automatically query multiple times to retrieve all records
- Infinite Loop Detector
- Stops a process due to the chance of an infinite loop occurring
- Default is 8 child processes in one hour
- Unsupported update through direct SQL on the Deployment Properties table (http://social.microsoft.com/Forums/en/crm/thread/1b164a2f-d2a2-4a6a-813e-716c8771ee78)
- Supported via PowerShell, (http://msdn.microsoft.com/en-us/library/gg328563.aspx). Example, (http://blog.dorrekens.com/index.php/list/137-mscrm-infinite-loop-for-plugins)
- Duplicate Detection Rules
- Default is 5 published rules per entity
- Excel Export
- Default is 10,000 records
- Can be modified by updating the Organization record and setting the maxrecordsforexporttoexcel field
- http://msdn.microsoft.com/en-us/library/gg328408.aspx#attribute
- Managed Solutions
- you cannot change your publisher if you share an updated version of a previous solution you´ve deployed under another publisher (so keep in mind your prefix)
- you cannot start auditing for any of your entities just by providing them within a managed solution
- you cannot set the default dashboard by providing a managed solution
- you cannot set the default public view by providing a managed solution
- Data Import
- CRM 2011 Online: single file must be less than 8MB ( To change it http://nishantrana.wordpress.com/2012/08/05/the-import-file-is-too-large-to-upload-error-while-importing-csv-file-of-more-than-8-mb-in-crm-2011/)
- you can zip many files to one .zip-file. This file has to be less than 32MB
- when you upload the zip file, CRM 2011 unzips it on server and process the files individually. Because of the 8MB limit if any single file is greatet then 8MB limit this file will fail
- Sub-Grid
- The first four sub-grids can be populated with data in a form when it loads (To auto load all the subgrids http://blog.customereffective.com/blog/2011/12/crm-2011excessive-sub-gridding.html)
- If more than four sub-grids exist on a form, the remaining sub-grids require some user or form script action to retrieve data
- Outlook Reading Pane
- Form events do not occur in the reading pane so form script event handlers are never called
- If you are using multiple forms for an entity, only the default entity form will be used for the reading pane
- The reading pane does not display IFrames, Subgrids or Web Resource.
- OData 50 records limit.
- OData retireve response only allows maximum 50 records to be retrieved. However this can be tweaked.
- http://blogs.msdn.com/b/crminthefield/archive/2012/03/16/how-to-increase-the-50-record-page-limit-on-odata-retrieve-responses-for-dynamics-crm-2011.aspx
- File Attachment Size
- The maximum file attachment size to an email ot note is 32,768KB (default 5,120KB)
- Can be set from Settings -> Administration -> System Settings -> Email tab
- There is a limit of 300 custom entities with Dynamics CRM Online.
- You are limited to 200 Workflows and Dialogs in Dynamics CRM Online.