Toad World® Forums

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?