Getting "Specified cast is not valid" error looking at Agent details and clicking on history tab.
说明
Getting an error when looking at the details of an Agent and clicking on the history tab.
System.InvalidCast Exception Specified cast is not valid. Stack Trace:
Server stack trace: at Quest.Toad.SqlServer.Trl.Jobs.JobHistoryTrl.QueryDone_EventHandler(Object sender, EventArgs e) at Quest.Toad.Trl.BaseSqlTrl.CompletelyDone(Boolean hasLock)
Exception rethrown at [0]: at Quest.Toad.Util.Global.RethrowKeepingStackTrace(Exception e) at Quest.Toad.Trl.BaseSqlTrl.OnFetchException(Exception exc, Boolean notificationManager) at Quest.Toad.Trl.BaseSqlTrl.CompletelyDone(Boolean hasLock) at Quest.Toad.Trl.BaseSqlTrl.Done(Object sender, EventArgs args) at Quest.Toad.Trl.BaseSqlTrl.AsyncDone(Object sender)
解决办法
WORKAROUND
None
STATUS
This issue is fixed in Toad for SQL Server 6.7. This version can be downloaded from the downloads section of our website, which you can access by clicking here.