The following errors may appear when opening up a tax return, where only the tabs across the top are displayed. The rest of the page is blank and the user cannot view or do anything in the return.
β
These errors are generated:
Exception generation = 1, message: Unable to cast object of type 'DevExpress.XtraBars.Docking.ControlContainer' to type 'DevExpress.XtraBars.Docking.DockPanel'.
Exception type: InvalidCastException
Stack Trace:
at DevExpress.XtraBars.Docking.DockPanel.OnDeserialize(BaseLayoutInfo info)
at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.DeserializeCollection(DockPanelCollection panels)
at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.Deserialize()
at DevExpress.XtraBars.Docking.DockManager.DeserializeLayoutManager()
at DevExpress.XtraBars.Docking.DockManager.SafeOnLoaded()
at DevExpress.XtraBars.Docking.DockManager.OnLoaded()
at DevExpress.XtraBars.Docking.DockManager.ResumeOnLoad()
at DevExpress.XtraBars.Utils.BarManagerLoadHelper.Load()
at DevExpress.XtraBars.BarManager.CheckAndLoad()
at DevExpress.XtraBars.BarManager.OnFormResize(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.Form.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at DevExpress.XtraEditors.XtraForm.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()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at Aps.Applications.Tax.Australia.UI.Forms.ApplicationWindow.WndProc(Message& msg)
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
To resolve this issue please complete the following steps:
Close Access APS Tax Manager.
Navigate to C:\Users\USERNAME\AppData\Roaming\access group > Access APS Tax
Delete the WorkspaceLayout.usf
When launching Access APS Tax Manager again, a new copy of the WorkspaceLayout.usf file is recreated.
Recreate your workspace layouts.
