web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cannot import solution with Custom Workflow activity

(0) ShareShare
ReportReport
Posted on by 587

Hi,

We have a solution that contains the DLL of the Custom workflow activities, all the time i'm trying to import the solution, i'm getting the error,

Plugin Assemblies import: FAILURE. Error: Plugin: ETS.Accounts.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ffb0a6250438a243 caused an exception.: Exception retrieving custom activity info using SandboxPlugin - Unhandled exception: Exception type: Microsoft.Crm.CrmException Message: The plug-in execution failed because no Sandbox Worker processes are currently available. Please try again. System.ServiceModel.CommunicationException: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error. Server stack trace: at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at Microsoft.Crm.Sandbox.SandboxWorkerProcess.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, Boolean returnTraceInfo, Int64& wcfExecInMs, Int64& initializeInMs, Int64& trackCallInMs, Int64& trackGoodReturnInMs, Int64& waitInMs, Int64& taskStartDelay): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #88388A72 at Microsoft.Crm.Sandbox.SandboxCodeUnit.ProcessException(Exception originalException, IExecutionContext context, SandboxClient client, SandboxCallTracker callTracker, Boolean isSafeToRetry, DateTime performanceExecutionStartTime, SandboxTracker tracker, Guid parentExecutionId, CrmException& crmException, String& assemblyContents) at Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass24_0.<Execute>b__0() at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.Execute(IServiceProvider serviceProvider) at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePluginContainer.Execute(IServiceProvider serviceProvider) at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.RetrieveCustomActivityInfoWithSandboxPlugin(ActivityInfo activityInfo) at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(ActivityInfo activityInfo, Int32 isolationMode, Guid pluginAssemblyId) -- End stack trace --

we have 4 dll in this solution, i tried to split the solution into 4 solutions and still getting the error for each one of them, the trace message doesn't contains the required information about the error, so can you assist me in finding the main reason

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    hi.. are you using ILMerge or something?

    is this CRM Online or On-Prem?

    did you make sure to use the correct XRM Dlls version?

  • Abbod Hamwi Profile Picture
    587 on at

    Yes, i'm using ILmerge, and this is an Online CRM,

    For the version yes i'm sure as i'm able to update it on the sandbox, but on the QC (Copy from Production) i'm getting that error

  • Dynamics365 Rocker Profile Picture
    7,755 on at

    Can you check if you are able to import assembly without merge?

  • Abbod Hamwi Profile Picture
    587 on at

    Hi,

    First, I though that my problem was with the ILmerge, I created a new assembly without ILMerge, I was able to import it, but once I'm updating it with the Plugin Registration tool, I got the same error

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    what's the reason for using ILMerge? do you simply have your business logic into a different DLL or would you be using 3rd party DLLS?

    also.. in your Merge are you merging dynamics xrm dlls? you should only merge your 3rd party + your project dll !!! you must not merge xrm.sdk etc

    additionally if you are not using any 3rd party.. you can use the "Shared Project" concept: dev.to/.../sharing-is-caring-using-shared-projects-in-aspnet-e17

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    Have you created any custom activity that is referenced or used in the Accounts.Workflow DLL. If so make sure its deployed and published in the target CRM instance.

  • Abbod Hamwi Profile Picture
    587 on at

    Hi,

    Even after uploading a dll without the using of ILMerge, i was able to create but in updating, i will get the error

    2019_2D00_05_2D00_20_5F00_7_2D00_44_2D00_55.png

  • Kokulan Profile Picture
    18,054 on at

    Your post states its CRM online, just wanted to double check if you are on CRM Online or OnPrem?

  • Abbod Hamwi Profile Picture
    587 on at

    CRM Online

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    as you performed changes to the DLL.. can you unregister and try re-register it

    can you also clarify on the questions I've made above?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans