Outdated Directive

Good morning,
Does anyone know an easy way to trace down what is failing in my UBAQ directives after this recent update? Some of my BPMs are kinda big and complicated:


All the syntax passes. How do I find what element is failing and preventing this from being updated? When I try to save the BPM for this UBAQ, I get some errors pointing to OrderDtlRow in Erp.Contracts.BO.SalesOrderHedDtl, and Erp.Contracts.BO.SalesOrder.

I went through each widget and I don’t see any specific references to OrderDtlRow in my custom code, or in any other widget. I did access and use the SalesOrder BO methods extensively here, so I expect this is from some internal method that got broke during the upgrade.

How do you track down your offending elements?
Thanks for your time!
Nate

Server Side Error on trying to save the Method Directive as “Compatible”.

Server Side Exception

There is at least one compilation error.
RunCustomAction.Base.ProcessCommands.cs(876,73): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(892,74): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(908,76): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(924,79): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(940,74): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(956,72): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(972,77): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(871,65): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(887,67): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(903,69): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(919,75): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(935,67): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(951,65): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(967,73): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'

Exception caught in: Epicor.ServiceModel

Error Detail 
============
Correlation ID:  7e8d7794-4706-4d8b-a522-2f924fc670aa
Description:  There is at least one compilation error.
Details:  
RunCustomAction.Base.ProcessCommands.cs(876,73): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(892,74): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(908,76): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(924,79): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(940,74): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(956,72): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(972,77): error CS0433: The type 'OrderDtlRow' exists in both 'Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
RunCustomAction.Base.ProcessCommands.cs(871,65): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(887,67): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(903,69): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(919,75): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(935,67): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(951,65): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
RunCustomAction.Base.ProcessCommands.cs(967,73): error CS1503: Argument 1: cannot convert from 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrder, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]' to 'Erp.Tablesets.OrderDtlRow [Erp.Contracts.BO.SalesOrdHedDtl, Version=11.2.300.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992]'
Program:  Epicor.Customization.dll
Method:  EmitAssembly
Line Number:  75
Column Number:  17
Server Trace Stack:     at Epicor.Customization.Standard.EcfInMemoryCompiler.EmitAssembly(CustomizationProject project, Compilation compilation, ImmutableArray`1 analyzerDiagnostics) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\EcfInMemoryCompiler.cs:line 75
   at Epicor.Customization.Standard.EcfInMemoryCompiler.CompileAsync(CustomizationProject project) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\EcfInMemoryCompiler.cs:line 56
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Epicor.Customization.Standard.EcfInMemoryCompiler.CompileAsync(CustomizationProject project)
   at Epicor.Customization.Standard.EcfInMemoryCompiler.<>c__DisplayClass5_0.<Compile>b__0() in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\EcfInMemoryCompiler.cs:line 47
   at Epicor.Utilities.AsyncHelper.RunSync[TResult](Func`1 method) in C:\_releases\ICE\ICE4.2.300.6\Source\Shared\Framework\Epicor.ServiceModel\Utilities\AsyncHelper.cs:line 16
   at Epicor.Customization.Standard.EcfInMemoryCompiler.Compile(CustomizationProject project) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\EcfInMemoryCompiler.cs:line 47
   at Epicor.Customization.Standard.CustomizationBuilder.Compile(CustomizationProject project) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\CustomizationBuilder.cs:line 153
   at Epicor.Customization.Standard.CustomizationBuilder.UpdateCustomizationWithDiagnostics(CustomizationProject project, IEnumerable`1 customizations, String assemblyId) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\CustomizationBuilder.cs:line 134
   at Epicor.Customization.Standard.CustomizationBuilder.UpdateAndCompile(CustomizationProject project) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\CustomizationBuilder.cs:line 226
   at Epicor.Customization.Standard.CustomizationBuilder.ProcessWithDiagnostics(CustomizationProject project) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Customization\Standard\CustomizationBuilder.cs:line 59
   at Ice.Blaq.Maintenance.CustomizationToolBase`1.RegenerateWithDiagnostics(CgBoDef boDef, IBpmMethodInfo methodInfo) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Internal\Lib\Ice.Lib.Blaq.Bpm\Maintenance\CustomizationToolBase.cs:line 126
   at Ice.Blaq.Maintenance.UbaqCustomizationTool.RegenerateWithDiagnostics(UbaqMethodId methodId) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Internal\Lib\Ice.Lib.Blaq.Ubaq\Maintenance\UbaqCustomizationTool.cs:line 47
   at Ice.Blaq.Maintenance.CustomizationToolBase`1.Ice.Blaq.Maintenance.ICustomizationTool.RegenerateWithDiagnostics(IBpmMethodId methodId) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Internal\Lib\Ice.Lib.Blaq.Bpm\Maintenance\CustomizationToolBase.cs:line 58
   at Ice.Services.BO.BpMethodSvc.AfterUpdate() in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Services\BO\BpMethod\BpMethod.Events.cs:line 170
   at Ice.Services.BO.BpMethodSvc.OnTablesetEvent(DatasetEventType type) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Services\BO\BpMethod\BpMethod.Designer.cs:line 256
   at Ice.TablesetBound`3.<InnerUpdate>b__45_3[TUpdater]() in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Ice\Services\TablesetBound.cs:line 885
   at Ice.Services.Trace.TablesetProfilingCollector.DoTablesetEventTrace(String tablesetName, String methodName, Action action) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Ice\Services\TablesetProfilingCollector.cs:line 192
   at Ice.TablesetBound`3.InnerUpdate[TUpdater](IceDataContext dataContext, TFullTableset tableset) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Framework\Epicor.Ice\Services\TablesetBound.cs:line 882
   at Ice.Services.BO.BpMethodSvc.Update(BpMethodTableset& ds) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Services\BO\BpMethod\BpMethod.Designer.cs:line 847
   at Ice.Services.BO.BpMethodSvcFacade.Update(BpMethodTableset& ds) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Services\BO\BpMethod\BpMethodSvcFacade.cs:line 1546
   at Ice.Controllers.BO.BpMethodController.Update(Update_InputModel model) in C:\_releases\ICE\ICE4.2.300.0\Source\Server\Services\BO\BpMethod\Generated\BpMethodController.cs:line 613
   at lambda_method5639(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAwaitedAsync()
   at Ice.Hosting.AspNetCore.Filters.ApiMetricsActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Filters\ApiMetricsActionFilter.cs:line 32
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.Filters.ApiMetricsActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeAsync()
   at Microsoft.AspNetCore.Mvc.Routing.ControllerRequestDelegateFactory.<>c__DisplayClass12_0.<CreateRequestDelegate>b__0(HttpContext context)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Ice.Hosting.AspNetCore.Middleware.DynamicAssemblyPartMiddleware.Invoke(HttpContext context, CurrentCallInformationService currentCallInformation, ControllerLoader controllerLoader) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\DynamicAssemblyPartMiddleware.cs:line 32
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.Middleware.DynamicAssemblyPartMiddleware.Invoke(HttpContext context, CurrentCallInformationService currentCallInformation, ControllerLoader controllerLoader)
   at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 89
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext)
   at Ice.Hosting.AspNetCore.Middleware.DecompressRequestMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\DecompressRequestMiddleware.cs:line 41
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.Middleware.DecompressRequestMiddleware.Invoke(HttpContext context)
   at Ice.Hosting.AspNetCore.Middleware.AuthenticationMiddleware.InvokeAsync(HttpContext context, CurrentCallInformationService callInformation) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\AuthenticationMiddleware.cs:line 59
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.Middleware.AuthenticationMiddleware.InvokeAsync(HttpContext context, CurrentCallInformationService callInformation)
   at Ice.Hosting.AspNetCore.Middleware.CallHeaderMiddleware.InvokeAsync(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\CallHeaderMiddleware.cs:line 51
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.Middleware.CallHeaderMiddleware.InvokeAsync(HttpContext httpContext)
   at Ice.Hosting.AspNetCore.Middleware.OperationDisposerMiddleware.InvokeAsync(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\OperationDisposerMiddleware.cs:line 23
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Ice.Hosting.AspNetCore.Middleware.OperationDisposerMiddleware.InvokeAsync(HttpContext httpContext)
   at Epicor.RESTApi.Middleware.ApiKeyEnforcerMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.300.6\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\ApiKeyEnforcerMiddleware.cs:line 78
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Epicor.RESTApi.Middleware.ApiKeyEnforcerMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context, ICorsPolicyProvider corsPolicyProvider)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.HandleRequest()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.HandleRequest()
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()



Client Stack Trace 
==================
   at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer)
   at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
   at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
   at Ice.Proxy.BO.BpMethodImpl.Update(BpMethodDataSet ds)
   at Ice.Adapters.BpMethodAdapter.OnUpdate()
   at Ice.Lib.Framework.EpiBaseAdapter.Update()
   at Ice.UI.App.BpMethodEntry.Transactions.MainTransactionBase.adapterUpdate()

EDIT: I see that in my BPM “usings and references” I have the two assemblies that are referenced in the error. I removed the highlighted one, and the compatibility error went away. It seems like this did the trick!
Capture236272734

1 Like