Wondering if anyone out there have encountered this error while trying to import a CRM2016 organisation to D365, on-premise.
The import process seems to successfully go through the first few steps but about an hour in, during the
-
Microsoft.Crm.Tools.Admin.InstallCrmSystemConvertedSolutionsAction
step, errors starts to appear in the log and they seemed to be the same error reported thousands of times.
Looking at the log entry, I am not sure if it's a permission issue or perhaps some custom workflow that is causing this error. The log entries don't give us enough detail to identify the offending objects.
Any assistance or pointers would be much appreciated.
>Error while loading workflow xaml. Is xaml validation enabled: True, Error Message: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=2.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
[2019-05-30 22:55:53.486] Process: mmc |Organization:00000000-0000-0000-0000-000000000000 |Thread: 9(Async/Worker-thread.) |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 817f53de-2890-48fb-96d7-ac91a5b4463c | XrmWorkflowXamlReader.Read ilOffset = 0x1A
at XrmWorkflowXamlReader.Read() ilOffset = 0x1A
at DynamicActivityXamlReader.Read() ilOffset = 0x14
at XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) ilOffset = 0x6A
at XamlServices.Load(XamlReader xamlReader) ilOffset = 0x1A
at ActivityXamlServices.Load(XamlReader xamlReader, ActivityXamlServicesSettings settings) ilOffset = 0x26
at UIDataGenerator.DeserializeXaml(String xaml, ExecutionContext context) ilOffset = 0x55
at UIDataGenerator.GenerateWorkflowObjectModelFromXaml() ilOffset = 0x0
at UIDataGenerator.GenerateUIDataFromEntity(String formXml) ilOffset = 0x20F
at WorkflowDependencyVisitorBase.Visit(BusinessEntity workflow) ilOffset = 0x2D
at WorkflowDependencyCalculator.DetermineRequiredDependencies(ExecutionContext context) ilOffset = 0x2D
at DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context) ilOffset = 0xB6
at DependencyHelperBase.CreateDependencies(ExecutionContext context) ilOffset = 0x26
at ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context) ilOffset = 0x5B
at ComponentCollector.ProcessRecords(ExecutionContext context) ilOffset = 0x2A9
at DependencyService.CreateAllDependencies(ExecutionContext context) ilOffset = 0x145
at PopulateDependenciesAction.Do(IDictionary parameters) ilOffset = 0xB4
at CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo) ilOffset = 0x12D
at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action) ilOffset = 0x49
at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) ilOffset = 0x12
at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action) ilOffset = 0x49
at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) ilOffset = 0x12
at <>c__DisplayClass83_0.<DoAction>b__0() ilOffset = 0x58
at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action) ilOffset = 0x49
at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) ilOffset = 0x12
at <>c__DisplayClass67_0.<Install>b__0() ilOffset = 0xA8
at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action) ilOffset = 0x49
at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) ilOffset = 0x12
at OrganizationOperation.Install(IDictionary stateSaver) ilOffset = 0xEA
at OrganizationUpgrader.Install(IDictionary stateSaver) ilOffset = 0x11
at OrganizationOperation.Execute() ilOffset = 0x13
at OrganizationUpgrader.Execute() ilOffset = 0x20
at ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ilOffset = 0x2CC
at ImportOrganizationInstaller.Execute(Object obj) ilOffset = 0x7A
at ProgressController.ExecuteHandler() ilOffset = 0x3B
at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) ilOffset = 0xFFFFFFFF
at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) ilOffset = 0x0
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x79
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x9
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x35
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA4