When trying to save SQL I get the following error.
**********************************************************************
Exception Information
**********************************************************************
Exception: System.InvalidCastException
Message : Unable to cast object of type 'System.Windows.Forms.Control' to type 'Quest.Toad.CodeSnippets.SnippetsManagerControl'.
Stack Trace:
at Quest.Toad.CodeSnippets.QuickFolderForm.buttonPanelControl_OKButtonClick(Object sender, EventArgs e)
at Quest.Toad.Controls.ButtonPanelControl.DoOkButtonClicked(Object sender, EventArgs args)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
at DevExpress.XtraEditors.TextBoxMaskBox.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
WORKAROUND 1:
Try resetting the SQLRecall folder. Go to the application data directory C:\Documents and Settings\<personal folder>\Local Settings\Application Data\Quest Software\Toad for SQL Server<version>. In the Toad for SQL Server <version> directory, look for a folder called SQLRecall and rename it. Then restart and test the issue.
WORKAROUND 2:
try resetting the whole application data directory this time. Close Toad, find and rename C:\Documents and Settings\<personal folder>\Local Settings\Application Data\Quest Software\Toad for SQL Server. Rename the whole Toad for SQL Server <version> directory. Then restart and test the issue.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center