Toad World® Forums

Error changing from connections


#1

I get the following error when I changed from Connection A to Connection B. Connection A is the default connection when opening Toad. I needed to run a query in Connection B so I opened the query, opened Connection B and the right clicked on the editor tab and selected Connection B and that is when I get this error.

Interestingly, I don’t get the error when I try to switch back to Connection A, only switching from A to B.

System.InvalidCastException
Unable to cast object of type ‘Quest.Toad.SqlServer.Trl.Databases.DatabaseListTrl’ to type ‘Quest.Toad.SqlServer.Trl.Databases.DatabaseTrl’.
Stack Trace:
at Quest.Toad.SqlServer.ActionHandler.Databases.DatabaseActionHandler.b__b(ITrl itrl)
at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at Quest.Toad.SqlServer.ActionHandler.Databases.DatabaseActionHandler.IdleDelegate_CreateLike(BarItem item)


#2

Hi Matthew,

We already know about this issue. It should be fixed for the next beta drop.
Thanks for your report.

regards, Julia.


#3

Matthew, there is a new beta drop 204 with the fix - you can grab it if the issue is annoying for you.