Plugin Error: Could not load file or assembly 'Microsoft.Crm.Sandbox.WorkerProcess RRS feed

  • Question

  • I have a plugin that's been running fine Synchronously in Post Operation, but I want to move it to ASync.  I changed the step to be Async, and now I'm getting this error when then plugin runs:

    Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): CRM.Plugin.Integration.AccountPost: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Crm.Sandbox.WorkerProcess, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
       at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
       at Microsoft.Crm.Asynchronous.EventOperation.InvokePlugin(AsyncExecutionContext context, IPlugin pluginInstance)

    This is CRM 2015 (, and the plugin is only referencing Microsoft.Xrm.Sdk, not using the Sdk Client reference which I've read can also cause this issue.  Also the Plugin is using .Net Framework 4.5.2.

    Thanks for any suggestions.  I'm at a loss on what to try next.  

    • Edited by Sam Alex Thursday, September 14, 2017 5:56 PM
    Thursday, September 14, 2017 5:56 PM