Bug #90416 MySql Notifier 1.1.7 High Severity Error
Submitted: 12 Apr 2018 22:28 Modified: 13 Apr 2018 0:15
Reporter: Mx Dog Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL for Windows: MySQL Notifier Severity:S1 (Critical)
Version:1.1.7 OS:Windows (10 17133.1)
Assigned to: CPU Architecture:Any (x64)
Tags: MySql.Data Exception

[12 Apr 2018 22:28] Mx Dog
Description:
When adding an instance ( Instances tab/Add/MySql Instance ) Notifier fails with 

Could Not load file or assembly 'MySql.Data, Version=6.9.9.0,...........

(Strong name validation failed. (Exception from HRESULT: 0x8013141A)

at MySql.Notifier.Classes.MySqlInstance.CheckInstanceStatusWorkerDoWork(Object sender, DoWorkEventArgs e)
at MySql.Notifier.Classes.MySqlInstance.CheckInstanceStatus(Boolean asynchronous)
at MySql.Notifier.Classes.MySqlInstancesList.Add(MySqlInstance item)
at MySql.Notifier.Forms.ManageItemsDialog.MySQLInstanceToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)

 

How to repeat:
add any instance 

Suggested fix:
I downloaded the source to see what was going on and the build architecture was set to x86. I changed to (CPU any), compiled/installed and the error went away. (VS2015)

I SUGGEST you offer both an x86 and an x64 compiled version.

The DLL signing at least on my win10 does not work with the compiled x86 Mysql.Data.dll and possibly the other two in there( I didn't check them )

I installed the original from MySql Installer and there was only the x86 offered
[12 Apr 2018 22:37] Mx Dog
Error-Popup

Attachment: MySqlNotifierError.PNG (image/png, text), 31.25 KiB.

[13 Apr 2018 0:15] MySQL Verification Team
Thank you for the bug report. Duplicate of https://bugs.mysql.com/bug.php?id=87079.