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:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.3.3880 OS:Windows (Professional x64)
Assigned to: CPU Architecture:Any
Tags: ActiveDocumentClosingEventArgs, TypeLoadException

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

- 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'."
  Source="MySQLWorkbench"
  TypeName="WeifenLuo.WinFormsUI.Docking.ActiveDocumentClosingEventArgs"
  StackTrace:
       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.