When opening the Tools | Automation menu in v7.1.2, the following error appears:
'System.TypeInitializationException
The type initializer for 'Quest.Toad.Workflow.Activities.SendEmailActivity' threw an exception.'
In the log file is the following error:
========
System.IO.FileNotFoundException: Could not load file or assembly 'MailBee.NET, Version=11.2.0.590, 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()
Outer exception:
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.Windows.Forms.UserControl.OnLoad(EventArgs e)
at Quest.Toad.Gui.DocumentForm.OnLoad(EventArgs e)
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.UserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
========
The log shows: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MailBee.NET\v4.0_11.2.0.590__cd85b70fb26f9fc1\MailBee.NET.dll as the file which cannot be found.
1. Download the zip file 'MailBee.zip' attached, containing the file "MailBee.NET.renamethistodll"
2. Extract it and copy the extracted file into the installation folder where you have the Toad.exe file for Toad Data Point (most probably: C:\Program Files\Quest Software\Toad Data Point 5.0).
3. Rename it to MailBee.NET.DLL
4. Start Toad Data Point and re-test.
If the issue persists, also copy the file to: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MailBee.NET\v4.0_11.2.0.590__cd85b70fb26f9fc1\MailBee.NET.dll (You may need to create this directory if it doesn't exist), then restart the machine.