Hello!
In a test (non-production) Epicor environment, I have been trying to add a column to one of two grids in a dashboard. The steps I took were as follows:
Using BAQ Designer:
- Copy the original BAQ to one with new name
- Add a join to a particular table in the top level query, save changes
Using the Dashboard editor: - Tie the dashboard back to the new, modified BAQ rather than the original
- Add the desired column to the appropriate grid (using Properties, and the Visible checkbox)
- Deploy Dashboard
Now:
When I open the dashboard view I modified, I throw 2 errors (1, 2).
The grid column I hoped to add is displayed.
When I close the dashboard, I throw a third error (3).
I’ve been using Epicor for only a couple of months, so I’m not familiar with many of the terms in these errors.
I’m posting today for some insight as to the error messages.
Has anyone ever seen these errors (or errors like them) before?
Does anyone have any guidance as to what they might mean, or what remedies they may call for?
Thank you!
(1)
Application Error
Exception caught in: mscorlib
Error Detail
Message: Exception has been thrown by the target of an invocation.
Inner Exception Message: [A]Ice.UI.App.PartLocator.MainController cannot be cast to [B]Ice.UI.App.PartLocator.MainController.
Type A originates from ‘Ice.UI.App.PartLocator_2, Version=3.2.7839.482, Culture=neutral, PublicKeyToken=null’ in the context ‘LoadFrom’
at location ‘C:\ProgramData\Epicor\slmvmepicortest-808\3.2.400.0\USBAND\shared\CustomDLLs\Ice.UI.App.PartLocator_2.dll’.
Type B originates from ‘Ice.UI.App.PartLocator_3, Version=3.2.7838.940, Culture=neutral, PublicKeyToken=null’ in the context ‘LoadFrom’
at location ‘C:\ProgramData\Epicor\slmvmepicortest-808\3.2.400.0\USBAND\shared\CustomDLLs\Ice.UI.App.PartLocator_3.dll’.
Program: CommonLanguageRuntimeLibrary
Method: InvokeMethod
Client Stack Trace
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeScriptMethod(MethodInfo scriptMethod, Object[] parameters)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeInitializeGlobalVariables(CustomScriptManager customScriptManager)
at Ice.Lib.Customization.CustomScriptManager.b__117_0()
at Ice.Lib.Customization.CustomScriptManager.TryActionShowExceptionBoxIfException(Action action, String exceptionBoxTitle)
Inner Exception
[A]Ice.UI.App.PartLocator.MainController cannot be cast to [B]Ice.UI.App.PartLocator.MainController. Type A originates from ‘Ice.UI.App.PartLocator_2, Version=3.2.7839.482, Culture=neutral, PublicKeyToken=null’ in the context ‘LoadFrom’ at location ‘C:\ProgramData\Epicor\slmvmepicortest-808\3.2.400.0\USBAND\shared\CustomDLLs\Ice.UI.App.PartLocator_2.dll’. Type B originates from ‘Ice.UI.App.PartLocator_3, Version=3.2.7838.940, Culture=neutral, PublicKeyToken=null’ in the context ‘LoadFrom’ at location ‘C:\ProgramData\Epicor\slmvmepicortest-808\3.2.400.0\USBAND\shared\CustomDLLs\Ice.UI.App.PartLocator_3.dll’.
at Script.InitializeGlobalVariables(CustomScriptManager csm)
(2)
Application Error
Exception caught in: mscorlib
Error Detail
Message: Exception has been thrown by the target of an invocation.
Inner Exception Message: Object reference not set to an instance of an object.
Program: CommonLanguageRuntimeLibrary
Method: InvokeMethod
Client Stack Trace
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeScriptMethod(MethodInfo scriptMethod, Object[] parameters)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeCustomFormLoadIfExists(String methodName, Object sender, EventArgs e)
at Ice.Lib.Customization.CustomScriptManager.<>c__DisplayClass104_0.b__0()
at Ice.Lib.Customization.CustomScriptManager.TryActionShowExceptionBoxOrLogVerificationErrorIfException(Action action, String exceptionBoxTitle)
Inner Exception
Object reference not set to an instance of an object.
at Script.MainController_Load(Object sender, EventArgs args)
(3)
Application Error
Exception caught in: mscorlib
Error Detail
Message: Exception has been thrown by the target of an invocation.
Inner Exception Message: Could not load file or assembly ‘Ice.UI.App.PartLocator_3, Version=3.2.7838.940, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
Program: CommonLanguageRuntimeLibrary
Method: InvokeMethod
Client Stack Trace
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeScriptMethod(MethodInfo scriptMethod, Object[] parameters)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeDestroyGlobalVariablesIfExists()
at Ice.Lib.Customization.CustomScriptManager.b__120_0()
at Ice.Lib.Customization.CustomScriptManager.TryActionShowExceptionBoxIfException(Action action, String exceptionBoxTitle)
Inner Exception
Could not load file or assembly ‘Ice.UI.App.PartLocator_3, Version=3.2.7838.940, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
at Script.DestroyGlobalVariables()