Receiving "System.Reflection.TargetInvocationException" error while opening Toad.

Hi, Am using Taod for mysql 7.0.0.2038. When I am trying to open toad in my pc,I receive these errors. Please advice…

System.Reflection.TargetInvocationException
Exception has been thrown by the target of an invocation.
Stack Trace:
at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.AppDomain.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Quest.Licensing.QuestKeyFactory.QKFInitialize()
at Quest.Licensing.QuestKeyFactory…ctor()
at Quest.Toad.Map.MapValidation.loadAndValidateQKLkeys()
at Quest.Toad.Map.MapValidation.SetCurrentToadOption()
at Quest.Toad.Map.MapValidation.SetOptionsAndCheckIdentity()
at Quest.Toad.Map.MapValidation.Initialize()
at Quest.Toad.Map.MapValidation.get_InstalledPlatforms()
at Quest.Toad.Map.MapValidation.get_InstalledPlatformTypes()
at Quest.Toad.Util.Global.get_MutexAppCode()
at Quest.Toad.StartupForm.MainAppicationEntryPoint(String[] args)
at Quest.Toad.ToadProcessEntryPoint.Main(String[] args)

System.IO.FileLoadException
Compiler Error: line: 0 pos: 0 Error - Source file ‘C:\WINDOWS\TEMP\1tnhndxz.0.cs’ could not be found
Compiler Error: line: 0 pos: 0 Error - No inputs specified

Stack Trace:
at Quest.Licensing.Validation.ClassWrapper.createTempAssembly()
at Quest.Licensing.Validation.ClassWrapper…ctor(String tdllName)

and If click “OK” button again I receive this error…

System.ComponentModel.Win32Exception
Invalid window handle
Stack Trace:
at MS.Win32.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at MS.Win32.HwndWrapper…ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
at System.Windows.Interop.HwndSource…ctor(HwndSourceParameters parameters)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at Quest.Toad.Exceptions.Unhandled.ForceApplicationShutdown.ProcessUnhandledExcsAndShutdownApplication_Thread(Object state)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)

Could you delete all temporary files from 'C:\WINDOWS\TEMP?

It should help.

Aleksey