Double clicking on objects in Object Explorer gives the following error:
Exception: System.NullReferenceException
Message : Object reference not set to an instance of an object.
Stack Trace:
at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcLinkSize(BarItemLink link, Graphics g, Object sourceObject)
at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.PreCalcMultiLineSize(Graphics g, Object sourceObject, Int32 AMaxBarWidth, Int32& ARestWidth)
at DevExpress.XtraBars.ViewInfo.DockedBarControlViewInfo.PreCalcMultiLineSize(Graphics g, Object sourceObject, Int32 AMaxBarWidth, Int32& ARestWidth)
at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.PreCalcBarDrawInfo(Graphics g, Object sourceObject, Int32 width)
at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle rect)
at DevExpress.XtraBars.ViewInfo.DockedBarControlViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle rect)
at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcViewInfo(Graphics g, Object sourceObject, Rectangle rect)
at DevExpress.XtraBars.Controls.CustomControl.UpdateViewInfo()
at DevExpress.XtraBars.Controls.CustomControl.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.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
Conflict with a popup window causes this error and may be a corruption with the saved settings in the application data directory. This may be caused by, but not limited to, the migration of settings from one install to another.
RESOLUTION:
Exit Toad, go to the application data directory and rename the Toad for SQL Server <version> directory. Restart Toad and test the issue.
The default app data directory is
- C:\Documents and Settings\<personal folder>\Application Data\Quest Software
or
- C:\Users\<personal folder>\AppData\Roaming\Quest Software\
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy