Bug #47490 TypeLoadException running Workbench OSS first time after complete installation
Submitted: 21 Sep 2009 16:00 Modified: 21 Sep 2009 16:32
Reporter: Yvan Rodrigues Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Workbench Severity:S1 (Critical)
Version: OS:Windows (Professional x64)
Assigned to: CPU Architecture:Any
Tags: ActiveDocumentClosingEventArgs, TypeLoadException

[21 Sep 2009 16:00] Yvan Rodrigues
- installed 5.2.3 using Win32 msi installer, complete
- already installed: MySql GUI tools, MySql connector/net, Workbench

- software crashes with System.TypeLoadException as follows:
System.TypeLoadException was unhandled
  Message="Could not load type 'WeifenLuo.WinFormsUI.Docking.ActiveDocumentClosingEventArgs' from assembly 'WeifenLuo.WinFormsUI.Docking, Version=2.2.3489.7562, Culture=neutral, PublicKeyToken=null'."
       at MySQL.GUI.Workbench.MainForm.InitializeComponent()
       at MySQL.GUI.Workbench.MainForm..ctor()
       at MySQL.GUI.Workbench.MainForm..ctor(WbContext WbContext)
       at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
- Install
- Run

Suggested fix:
WeifenLuo.WinFormsUI.Docking.dll is indeed present in the application directory.
When I load this dll into the VS object browser, I don't see a type called ActiveDocumentClosingEventArgs at all.
[21 Sep 2009 16:32] MySQL Verification Team
Thank you for the bug report. Duplicate of bug: http://bugs.mysql.com/bug.php?id=47480.