Thursday 16 July 2015

MS CRM - Sandbox Timeout

MS Dynamics CRM imposes several limitations and restrictions to all plugins registered to operate within the CRM Sandbox. 

The most common pitfall experienced by developers is the Sandbox Timeout, which by default is set to 2 minutes. Any business logic that executes longer than this will result in a exception e.g:
  • 0x80044172; message: The plug-in execution failed because the operation has timed-out at the Sandbox Host
  • 0x80044171; message: The plug-in execution failed because the operation has timed-out at the Sandbox Client
In order to increase the timeout period, there are several registry settings below which can be used as follows:
  • HKLM\Software\Microsoft\MSCRM\SandboxClientOperationTimeoutInSec
  • HKLM\Software\Microsoft\MSCRM\SandboxHostOperationTimeoutInSec
  • HKLM\Software\Microsoft\MSCRM\SandboxWorkerOperationTimeoutInSec
The screenshot below shows the three registry settings, by default they are all set to 120 seconds (2 minutes). Changing these settings can be used to either decrease or increase the sandbox timeout.






No comments:

Post a Comment

Action Microsoft.Crm.Setup.Common.Analyzer +CollectAction failed. Fatal error during installation

When installing the Srs Data Connection (Microsoft Dynamics CRM Reporting Extensions), you may have experienced the following error: ...