Exceptions and Errors when starting Toad

When opening Toad for SQL Server, I immediately get the following error message:

Toad for SQL Server 7.1.0.142
System.TypeInitializationException
The type initializer for 'Quest.Toad.SQLRecall.SQLRecall' threw an exception.
Stack Trace:
at Quest.Toad.SQLRecall.SQLRecall.BeginUpdate()
at Quest.Toad.SQLRecall.ProducerConsumerQueue`1.Work()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

System.IO.FileNotFoundException
Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
Stack Trace:
   at Quest.Toad.SQLRecall.JsonFileStorage`1.Initialize()
   at Quest.Toad.SQLRecall.SQLRecall.LoadRecall()
   at Quest.Toad.SQLRecall.SQLRecall..cctor()

As well, there is a window that pops up, saying: "Toad encountered a serious error and must close. Please save your data and close the application. We apologize for the inconvenience." The TypeInitializationException message is:


TypeInitializationException
The type initializer for 'Quest.Toad.SQLRecall.SQLRecall' threw an exception.

Stack Trace:
at Quest.Toad.SQLRecall.SQLRecall.BeginUpdate()
at Quest.Toad.SQLRecall.ProducerConsumerQueue`1.Work()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

I have tried to uninstall and re-install, but still get the same issues. Any suggestions would be much appreciated... TIA.

Hi,
I cannot reproduce this error. Do you use 32 or 64 bit? Which .NET version do you have?
Can you open a support case at support.quest.com so you can send us your log files?

Toad for SQL Server is generating critical error just after execute a quetry and then has to close:


TypeInitializationException
Se produjo una excepción en el inicializador de tipo de 'Quest.Toad.SQLRecall.SQLRecall'.

Stack Trace:
en Quest.Toad.SQLRecall.SQLRecall.BeginUpdate()
en Quest.Toad.SQLRecall.ProducerConsumerQueue`1.Work()
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Threading.ThreadHelper.ThreadStart()

Hi, there's not enough information to be able to say anything.
What version is it? What query were you running and from which Toad module?

Hi Dan.

Is the 7.2.0.233 version (Freeware) and happens with any query execution. Previously, it didn't even allow me to connect to the Database

We don't register this error with all queries. Can you try reinstalling and checking whether your pc fulfils the minimum reqs? Thanks