Toad World® Forums

6.1 - Double-click in Job List = System.InvalidCastException

Opened the Job List, then double-clicked on a job that had a red “x”.

Got this error:

System.InvalidCastException
Specified cast is not valid.
Stack Trace:
at Quest.Toad.Trl.BaseSqlTrl.OnFetchException(Exception exc, Boolean notificationManager)
at Quest.Toad.Trl.BaseSqlTrl.ExecuteQuery()
at Quest.Toad.Trl.BaseSqlTrl.Execute()
at Quest.Toad.Trl.BaseSqlTrl.CreateData(ILiveCache entry, IFilterLiveCache filter, FilterInfo filterInfo)
at Quest.Toad.Trl.BaseSqlTrl.GetData(Boolean filtered, FilterInfo filterInfo, Boolean bCacheDasta, Boolean bIsDeferredCall)
at Quest.Toad.Trl.BaseSqlTrl.GetData(Boolean filtered, FilterInfo filterInfo)
at Quest.Toad.SqlServer.Trl.Jobs.JobSchedulesTrl.get_JobSchedules()
at Quest.Toad.SqlServer.Doe.Job.JobProperties…ctor(JobTrl trl, EnumActionType action)
at Quest.Toad.SqlServer.Doe.Job.JobEditForm.Initialize()
at Quest.Toad.Doe.BaseDoeForm.LoadInternal()
at Quest.Toad.Doe.BaseDoeForm.PreShowInitialize()
at Quest.Toad.Doe.BaseDoeForm.ShowForm(BaseDoeForm form)
at Quest.Toad.Doe.BaseDoeForm.Alter(Object sender, ITrl[] trls, Object customModeTag)
at Quest.Toad.SqlServer.Doe.Job.JobManagementActions.AlterJob(Object sender, ITrl[] trls)
at Quest.JobManagement.UI.Plugin.ConcoleToad.ChangeJob(IJob job)
at Quest.JobManagement.UI.Console.ConsoleCtrl.m_serverJobs_JobEvent(Object sender, AllJobsEventArgs args)
at Quest.JobManagement.UI.Console.ServerJobs.RaiseJobEvent(EventKind ekKind)
at Quest.JobManagement.UI.Console.ServerJobs.m_Grid_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at DevExpress.XtraGrid.GridControl.OnDoubleClick(EventArgs ev)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at DevExpress.XtraGrid.GridControl.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)

Hi Darren,

I’ve the same issue some months ago.

See this for details : www.toadworld.com/…/21068.aspx.

I test it in the last TOAD SS Beta and for me the problem was solved.

Best regards,

Sergio