When clicking on the Automate button to create a new automation script, the following error is returned.
System.TypeInitializationException
The type initializer for 'Quest.Toad.Workflow.Activities.SendEmailActivity' threw an exception.
Stack Trace:
at Quest.Toad.Workflow.Activities.SendEmailActivity..ctor()
at Quest.Toad.Workflow.UI.Designer.AddDefaultErrorHandling(String xoml)
at Quest.Toad.Workflow.UI.Designer.SetUpErrorHandlingAndLogging(String xoml)
at Quest.Toad.Workflow.UI.Designer.LoadWorkflow(String xoml)
at Quest.Toad.Automation.AutomationForm.AutomationForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
and
System.IO.FileNotFoundException
Could not load file or assembly 'MailBee.NET, Version=6.5.2.236, Culture=neutral, PublicKeyToken=cd85b70fb26f9fc1' or one of its dependencies. The system cannot find the file specified.
Stack Trace:
at Quest.Toad.Workflow.Activities.SendEmailActivity..cctor()
Reset the Toad user files in the AppData directory to resolve this issue:
NOTE: Replace the "X.X" below with your TDP version number.
1) Fully exit Toad Data Point (TDP).
2) Go to: C:\Users\<YOUR_USER>\AppData\Roaming\Quest Software\
3) Rename the “Toad Data Point X.X” folder to “Toad Data Point X.X OLD”.
4) Start TDP (this will cause TDP to create a new “Toad Data Point X.X” folder).
5) If asked if you want to ‘Migrate’ settings from previous versions, choose CANCEL or NO.
6) Ensure that your TDP seems to have been reset to factory defaults.
7) Re-test the issue.
NOTE: If you want to transfer back your Saved Connections, see the steps below. However, try to re-test the issue first before we try to re-use any old files.
1) Fully exit Toad Data Point (TDP) again.
2) Go to the OLD “Toad Data Point X.X OLD” folder you renamed previously.
3) Perform a Copy on the “Connections.xml” file (make a BACKUP of this file just in case of errors).
4) Go to the NEW “Toad Data Point X.X” folder that was just created by TDP.
5) Paste the “Connections.xml” file in there.
6) Start TDP and you should now have your previous Saved Connections.