Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

PowerObjects Blog 

for Microsoft Business Applications


Timeouts in Microsoft Dynamics CRM 2011

Post Author: Joe D365 |

Timeouts in Microsoft Dynamics CRM 2011 control the length of time a certain command can run on the server or the max size of requests to your server. You may need to increase (or decrease) these timeout limits from time to time in your CRM deployment to facilitate solution import, allow large reports to be run, or allow a large request to be sent into CRM.

The default timeout lengths were created by Microsoft to ensure that malicious and/or poorly written statements do not cripple the server, ensuring all users can access and use CRM. If a statement is taking too long to run or a request is too large, CRM will 'timeout' the operation, effectively 'cancelling' it.

Microsoft has made it possible for administrators to change the default lengths of these timeouts. The below table identifies the various timeouts that CRM uses, the default timeout length and where the timeout setting is stored.

Timeout

Default Size/Time

Where is the Setting?

Single SQL query timeout

30 seconds

REGISTRY - HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSCRMOLEDBTimeout

ASP.NET timeout

1,000,000 ms

REGISTRY - HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSCRMExtendedTimeout

executionTimeout

110 seconds

web.config -

maxRequestLength

4096 kb

web.config -

Sandbox Isolation timeout

2 minutes

http://social.microsoft.com/Forums/en-US/1bae17ca-9a69-41a4-a85c-358a87f32c26/sandbox-plugin-limits

The above timeout values can be changed by simply editing the appropriate values in the CRM Application Server registry or editing the Application Server's web.config file. As always with editing registry files or a web.config, be sure to create a backup of the file before you make modifications to it 🙂

If you need some additional assistance relating to timeouts/limits in CRM 2011 please contact the CRM experts at PowerObjects and we will be glad to assist you!

Thanks and happy CRM'ing!

Joe CRM
By Joe D365
Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.

PowerObjects Recommends