Bug #60969 Workbench crash on start Windows 2003 server R2 and Windows 7 Ultimate
Submitted: 25 Apr 2011 7:13 Modified: 25 Apr 2011 22:43
Reporter: Cem Incecinar Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.33b OS:Windows (2003 Server R2, windows 7 ultimate)
Assigned to: CPU Architecture:Any
Tags: 2003 server r2, crash on start, windows 7 ultimate, workbench

[25 Apr 2011 7:13] Cem Incecinar
I was using mysql-workbench-gpl-5.2.29 and it was working. I install .net 4.0 framework and install new version of workbench (5.2.33b) its crash on startup with 2 of this error in event viewer:

First Event Record:
EventType clr20r3, P1 mysqlworkbench.exe, P2, P3 4d820632, P4 base.windows, P5, P6 4d82012f, P7 f, P8 9, P9 system.dllnotfoundexception, P10 NIL.

Second Event Record:
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[])

When i go properties of MySQLWorkbench.exe and change Compability for XP its working.

How to repeat:
Install Workbench 5.2.33b on windows 2003 server r2 or Windows 7 Ultimate and run. Check event viewer for errors.
[25 Apr 2011 22:43] Alfredo Kojima
this is a duplicate of bug #60412