Microsoft CRM 2011 Timeouts and Limits

    Microsoft CRM 2011 Timeouts and Limits

    One of my colleagues has pointed out this article, describing Microsoft CRM 2011 Timeouts and Limits.  At last, this useful info is concentrated in one clear resource. It should appear in Microsoft Dynamics CRM 2011 SDK.

    To help propagate  this information, here it is again:

     

    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 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 occuring
      • 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  )
    • 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
      • 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
      • 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 Resources

     

从CRM社区转载的一篇文章,介绍了CRM的一些超时和限制,在某些场合下可能会用到,先转过来,以后可能用得着。

你可能感兴趣的:(Microsoft CRM 2011 Timeouts and Limits)