Is it any BPM you try or just the one that’s having this issue?
Anytime I get into the BPM editor. From data/method directives, or the BAQ advanced BPM editor.
As soon as I click ‘Design’, I get this error twice in a row. Then the BPM editor opens with a blank window without any of my widgets.
Application Error
Exception caught in: mscorlib
Error Detail
============
Message: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Program: CommonLanguageRuntimeLibrary
Method: ResolveType
Client Stack Trace
==================
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
at System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)
at System.Xaml.MS.Impl.XmlNsInfo.LoadPrefixes()
at System.Xaml.XamlSchemaContext.UpdatePreferredPrefixes(XmlNsInfo newNamespaces, ConcurrentDictionary`2 prefixDict)
at System.Xaml.XamlSchemaContext.InitializePreferredPrefixes()
at System.Xaml.XamlSchemaContext.GetPreferredPrefix(String xmlns)
at System.Xaml.XamlObjectReader.SerializerContext.FindPrefix(String ns)
at System.Xaml.XamlObjectReader.ObjectMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader.MemberMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader.ObjectMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader.MemberMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader.ObjectMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader..ctor(Object instance, XamlSchemaContext schemaContext, XamlObjectReaderSettings settings)
at System.Xaml.XamlServices.Save(XamlWriter writer, Object instance)
at System.Xaml.XamlServices.Save(XmlWriter writer, Object instance)
at System.Xaml.XamlServices.Save(Object instance)
at Ice.Lib.Bpm.Model.NetCoreReadyDirective2Persister.Save(DirectiveDefinition2 instance)
at Ice.UI.Bpm.Designer.NaiveUndoRedoEngine.StoreState(DirectiveDefinition2 definition, Boolean isDirty)
at Ice.UI.Bpm.Designer.DesignerTransaction.StoreUndoState(Boolean isDirty)
at Ice.UI.Bpm.Designer.DesignSurfaceViewModel.LoadWorkflow()
at Ice.UI.Bpm.Designer.Controls.DesignerCanvas.DesignerCanvas_Loaded(Object sender, RoutedEventArgs e)
Hmm. Can other edit BPMs or does everyone get these errors?
I haven’t tried from any other account, and I am the only one that uses the BPM editor. I expect the issue to also occur on other accounts/machines, but I can’t confirm.
No worries, it’d help to narrow down if it’s a local issue or system wide. Hopefully Epicor Support gets to the bottom of it quickly for you.
Does this behavior happen when if you were to try to create a new BPM directive and try to open the Designer?
Confirmed that this also happens when I create a new method directive. Seems to be any time I get into BPM designer.
Can you check if your client folder contains Ice.Shared.Wcf.Core.dll and Ice.Shared.Wcf.Private.dll assemblies?
If yes, can you remove them from folder, restart client and check?
Thanks @NateS . I’ve spent the last few hours trying to unwind this, and I’ve made some headway isolating the cause (and am working on validating a hunch). Based on my testing, the cause is not something that could be directly addressed from the client-side. Testing from the same Windows machine, same client folder, same BPM–your system my internal 2022.1.1 system
Don’t worry, we’re hot on the trail and I’ll provide an update as soon as I can.
@NateS, can you log into your Pilot system at your convenience and try to go into the Design of your CustShip.GetQtyInfo method directive BPM now? Using the temporary support user account that you provided via the EpicCare case, I’m now able to launch the BPM Workflow Designer without receiving that error.
That seems to have done the trick!! Thank you so much! Great work!
I can confirm that Epicor support solved this issue. After they did their magic in our Pilot database, I ran the Rebuild Language Translation Tables action, as they suggested. This seems to have fixed things on my end!
Thank you all again!
Woohoo!!!
If anyone else is experiencing a similar issue, please run the Rebuild Translation Tables action from Language Maintenance.
- Navigate to System Setup/System Maintenance/Language Maintenance
- From the Actions drop-down > select Rebuild Translation Tables
Thanks Nathan! Great to see you.