Using version 2.0.1.0, in a large application using Tabbed MDI, Docking, and main and child bar managers, I''m getting an exception every single time I close the application. It alternates from this:
Cannot access a disposed object named "DockHost".
Object name: "DockHost".
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.RectangleToScreen(Rectangle r)
at Syncfusion.Windows.Forms.Tools.DockHostController.set_LayoutRect(Rectangle value)
at Syncfusion.Windows.Forms.Tools.SizingController.AdjustLRLayout()
at Syncfusion.Windows.Forms.Tools.SizingController.AdjustLayout()
at Syncfusion.Windows.Forms.Tools.SizingController.set_LayoutRect(Rectangle value)
at Syncfusion.Windows.Forms.Tools.MainFormController.AdjustLayout()
at Syncfusion.Windows.Forms.Tools.MainFormController.set_LayoutRect(Rectangle value)
at Syncfusion.Windows.Forms.Tools.MainFormController.AdjustLayoutDockArea()
at Syncfusion.Windows.Forms.Tools.MainFormController.ChildControl_VisibleChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at Syncfusion.Windows.Forms.Tools.CommandBarController.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Syncfusion.Windows.Forms.Tools.XPMenus.CommandBarManager.Dispose(Boolean disposing)
at Syncfusion.Windows.Forms.Tools.XPMenus.CommandBarManager.Dispose()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.Dispose(Boolean disposing)
at Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.FormDisposed(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.ComponentModel.Component.Dispose(Boolean disposing)
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
to this:
Cannot access a disposed object named "MdiClient".
Object name: "MdiClient".
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at Syncfusion.Windows.Forms.Tools.TabbedMDIManager.LockWindowTemporarily(Control control, Int32 interval)
at Syncfusion.Windows.Forms.Tools.TabbedMDIManager.MdiLayout(Object sender, LayoutEventArgs e)
at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.Control.PerformLayout(Control affectedControl, String affectedProperty)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.MdiClient.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.MdiClient.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.set_Bounds(Rectangle value)
at Syncfusion.Windows.Forms.Tools.MainFormController.AdjustLayout()
at Syncfusion.Windows.Forms.Tools.MainFormController.set_LayoutRect(Rectangle value)
at Syncfusion.Windows.Forms.Tools.MainFormController.AdjustLayoutDockArea()
at Syncfusion.Windows.Forms.Tools.MainFormController.ChildControl_VisibleChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at Syncfusion.Windows.Forms.Tools.CommandBarController.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Syncfusion.Windows.Forms.Tools.XPMenus.CommandBarManager.Dispose(Boolean disposing)
at Syncfusion.Windows.Forms.Tools.XPMenus.CommandBarManager.Dispose()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.Dispose(Boolean disposing)
at Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.FormDisposed(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.ComponentModel.Component.Dispose(Boolean disposing)
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The former exception occurs about 2/3 of the time. Has this problem been identified? Is there a newer beta we can use to correct it? (Our error logs are hard to read because of all these exceptions.)
AD
Administrator
Syncfusion Team
January 14, 2004 04:25 PM UTC
Hi Chris,
Thanks for bringing this to attention, and also for the exception message text. At present we are unable to ascertain the cause of this exception, but we are investigating this issue. Essential Suite v2.0.2.0 is available for download now. Several related fixes/enhancements have been performed in this release and it might take care of the above problem. Please open an incident in Direct Trac in this regard, and I will send you the download intructions to our latest release - Essential Suite v2.0.2.0. Also, in future please address all your issues through DirectTrac as far as possible, since it best and the fastest way of receiving technical support. Thanks for choosing Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.