Bug #60419 MySQL WorkBench Crashes on Startup
Submitted: 10 Mar 2011 16:55 Modified: 14 Mar 2011 20:16
Reporter: Chad M Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Workbench Severity:S1 (Critical)
Version:mysql-workbench-gpl-5.2.32-win32.msi OS:Windows (Server 2003)
Assigned to: CPU Architecture:Any

[10 Mar 2011 16:55] Chad M
Program crashes during splash screen at startup.

Windows event log contains 2 errors shown below:

First Error:

EventType clr20r3, P1 mysqlworkbench.exe, P2, P3 4d703b84, P4 base.windows, P5, P6 4d70388a, P7 74, P8 9, P9 system.dllnotfoundexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Second Error:

Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.DllNotFoundException
   at MySQL.Utilities.SysUtils.Win32.DwmIsCompositionEnabled()
   at MySQL.Utilities.ControlUtilities.IsCompositionEnabled()
   at MySQL.GUI.Workbench.MainForm.AdjustGlassFrame(Int32)
   at MySQL.GUI.Workbench.MainForm.DockDocument(MySQL.Controls.ITabDocument, Boolean, Boolean)
   at MySQL.GUI.Workbench.MainForm.ApplicationCommand(MySQL.Forms.AppCommand, MySQL.Forms.AppViewImpl, System.String)
   at MySQL.Forms.AppImpl.app_command_wrapper(std.basic_string<char,std::char_traits<char>,std::allocator<char> >*, MySQL.Forms.AppCommand, mforms.AppView*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   at MySQL.Forms.AppImpl.dock_view(mforms.App*, mforms.AppView*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   at MySQL.MCallback3<void\,mforms::App \*\,mforms::AppView \*\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&>.cpp_callback(mforms.App*, mforms.AppView*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   at <Module>.wb.WBContextUI.init(wb.WBContextUI*, wb.WBFrontendCallbacks*, wb.WBOptions*)
   at MySQL.Workbench.WbContext.init(MySQL.Forms.AppImpl, MySQL.Workbench.WbOptions, VoidStrUIFormDelegate)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

How to repeat:
Install using the installer, then run the program.
[10 Mar 2011 18:30] Alfredo Kojima
Do you have .NET 4 framework installed?
[14 Mar 2011 10:13] Emil Steen
Having the same problem. 

With following frameworks installed:
- Microsoft .NET Framework 2.0 Service Pack 2
- Microsoft .NET Framework 3.0 Service Pack 2
- Microsoft .NET Framework 3.5 SP1
- Microsoft .NET Framework 4 Client Profile
- Microsoft .NET Framework 4 Extended
[14 Mar 2011 20:15] Rafael Antonio Bedoy Torres
This bug is duplicated of http://bugs.mysql.com/bug.php?id=60412