Epicor 10.1.600.30

We have been working in the Test database adding customizations. After testing the customizations we imported them into the Production database. One particular customization will let you import it and use it in developer mode. But in Menu Maintenance it does not show up to set it as a default customization.

Wasn’t much on the customization. Two text boxes. So, decided to rebuild it in the Production database. When I open Customer in developer mode, open the tool box and try to drop a label or a text box on the form, I receive the following error:

Application Error

Exception caught in: Ice.Lib.EpiClientLib

Error Detail

Message: Unable to create an instance of the target.
Program: Ice.Lib.EpiClientLib.dll
Method: CreateInstance

Client Stack Trace

at Ice.Lib.Customization.Designers.DesignerBase.CreateInstance()
at Ice.Lib.Customization.Designers.DesignerBase.CreateInstance(Hashtable customControls)
at Ice.Lib.Customization.Designers.ControlDesignerBase.CreateInstance(Hashtable customControls, String postFix)
at Ice.Lib.Customization.ControlEditManager.StartCreateCustomControl()
at Ice.Lib.Customization.ControlEditManager.ControlCreateMouseDownHandler(Object sender, MouseEventArgs e)

After the error, if I move my mouse any where near the area where I dropped the control I continually receive this message:

Object reference not set to an instance of an object.

Details:

Application Error

Exception caught in: Ice.Lib.EpiClientLib

Error Detail

Message: Object reference not set to an instance of an object.
Program: Ice.Lib.EpiClientLib.dll
Method: ControlCreateMouseMoveHandler

Client Stack Trace

at Ice.Lib.Customization.ControlEditManager.ControlCreateMouseMoveHandler(Object sender, MouseEventArgs e)
at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Any ideas? Planned on going live with these customizations Jan 2nd.

When the customization was saved - was “All Companies” checked?
If not - may not show up in menu maintenance.
I believe it was version 10.1.6xx where this requirement started.

Not sure what is going on here…

All Companies is checked. I managed to get the customization into Menu Maintenance by importing it using Customization Maintenance and verifying but I still
cannot modify the Customer form because of the errors stated below.

Wonder what the Custom Properties looks like in customization maintenance

  • Actions - Show Custom Data
    Or if there were any warnings while verifying?

Just the imported/custom form?
Or also get errors on a brand new customization?

And just in case… have you already cleared your client cache and logged off/back on E10.

On the base form and on the customization it throws errors trying to add any control anywhere on the form.

Custom Properties attached.

There are no warnings after verification and the customization passed. As you can see there are two text boxes and a label. But, adding a new control fails
on base and the customized form. It fails using Customer from Quote Management, Order Management, and Accounts Receivable.

CustomerCustomizationProperties.xlsx (10.6 KB)

Hmmm…
Same server for both Test and Production?
And you don’t see any errors in Test?
Wonder if it’s been a while since you last rebooted/restarted everything?
Or if the errors occur on another client PC?

Found another form where dropping a new control on the form causes this error:
CreateInstance: Unable to create an instance of the target.

Followed by multiple popup boxes showing this error:
Application Error: Object reference not set to an instance of an object.

This error returns every time my mouse gets near the form I dropped the control on.

Do you think restarting the servers would fix this?

Just tried it on another PC and the error does not occur. I’ll try clearing my client cache.