locked
The plug-in execution failed because the Sandbox Client encountered an error during initialization RRS feed

  • Question

  • Hi All,

    We have registered a plugin against Contact create/update events.

    It was NOT registered in sandbox mode. This used to work fine all times.

    But now we are getting the following errors not always but frequently on creation of contact:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The plug-in execution failed because the Sandbox Client encountered an error during initialization.Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147204748</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>The plug-in execution failed because the Sandbox Client encountered an error during initialization.</Message>
      <Timestamp>2014-02-27T07:04:00.6958114Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>

    [ClickDimensions.Crm.MsCrm2011Plugins: ClickDimensions.Crm.MsCrm2011Plugins.ContactPlugin]
    [7ab0d4e2-5512-e011-93aa-78e7d1622967: ClickDimensions.Crm.MsCrm2011Plugins.ContactPlugin: Create of contact]


    </TraceText>
    </OrganizationServiceFault>

     

    As said it is not always throwing error, but when occured , it persists for few notable seconds.

    Recent change in the system was, we have increased the Maz.Worker Process value from 1 to 2 in certain of our Webserver IIS app pools.

    Thursday, February 27, 2014 7:28 AM