Description:
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 5.2.33.7508, P3 4d820632, P4 base.windows, P5 1.0.0.0, 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
Stack:
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.