POWEROBJECTS

718 Washington Ave. N. Suite #101
Minneapolis, MN 55401
View map and all Locations

Send us a message

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.

customizing

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 – <httpRuntime executionTimeout=”300″ maxRequestLength=”8192″/>

maxRequestLength

4096 kb

web.config – <httpRuntime executionTimeout=”300″ maxRequestLength=”8192″/>

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!

Avatar for JoeCRM

JoeCRM

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