locked
Buisness Process Error RRS feed

  • Question

  • I  registered the plug-in assembly with no issue (using the plugin registration tool), and we setup the appropriate steps & images for each plug-in. For a few of our plug-ins, when we perform the action that triggers the plug-in, we get a ‘Could not load file or assembly’ error . 

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Could not load file or assembly 'Captrust.CC5.CAPConnect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4fb44eea8c1c4ef6' or one of its dependencies. The system cannot find the file specified.Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220956</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>Could not load file or assembly 'Captrust.CC5.CAPConnect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4fb44eea8c1c4ef6' or one of its dependencies. The system cannot find the file specified.</Message>
      <Timestamp>2011-09-27T15:48:30.0272928Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>

    [Captrust.CC5.PlugIn: Captrust.CC5.Plugin.DeactivateAccountOrPlan]
    [3a4f1a6f-cbe2-e011-85fb-00505688000f: Captrust.CC5.Plugin.DeactivateAccountOrPlan: SetStateDynamicEntity of ct_plan]


    </TraceText>
    </OrganizationServiceFault>

    Do you have any feedback regarding that speculation, or is this error being caused by another issue?

     

    Tuesday, September 27, 2011 3:54 PM

All replies

  • try adding Microsoft.Xrm.Client.dll assembly reference.
    Wednesday, December 18, 2013 3:41 PM
  • Hello,

    It seems that your assembly references some assembly that is unavailable for IIS/Sandbox Service.


    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

    • Proposed as answer by DynamicsCRM31 Thursday, December 19, 2013 9:01 AM
    Wednesday, December 18, 2013 10:48 PM
    Moderator