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.