Please find various timeout settings which can effect CRM, they can be found in the various technologies used in CRM which vary from .NET, IIS, CRM SDK
- Registry on CRM application server(s)
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\OLEDBTimeout
- In seconds
- The OLEDBTimeout value controls the SQL time-out value that is used for a single SQL query
- Default is 30 seconds
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\ExtendedTimeout
- In milliseconds
- The ExtendedTimeout value controls the ASP.NET time-out value
- Default is 1,000,000
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\NormalTimeout
- In milliseconds
- Specifies the SOAP call timeout for most operations
- Default is 300,000
- Web.config
- <httpRuntime executionTimeout=”300″ />
- .NET 3.0: “timespan” attribute. The default is “00:01:50” (110 seconds)
- .NET 3.5 and 4.0: an integer in seconds. Default is 110 seconds.
- Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET.
- IIS/ASP.NET configuration
- IIS 6.0 -> Website Properties -> ASP.NET tab -> Edit Configuration button -> Application tab -> Request execution timeout (seconds)
- Related to this type of situation in CRM 4.0: http://blogs.msdn.com/b/crm/archive/2008/11/20/asp-net-2-0-50727-0-warning-event-id-1309-due-to-request-time-out.aspx
- When using the CRM SDK, there are also timeout settings that can be set via custom code:
- CRM 4.0 example:
- CrmService service = new CrmService();
- service.Timeout = 300;
- In milliseconds and default is 100,000
- CRM 2011:
- ServiceProxy.Timeout property (Timespan)