[Mono-bugs] [Bug 551681] VBNC99999: Unexpected error: The classes in the module cannot be loaded

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 6 11:31:36 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=551681

http://bugzilla.novell.com/show_bug.cgi?id=551681#c12


--- Comment #12 from Rico Lachmann <rico at bsdat.com> 2010-01-06 16:31:35 UTC ---
hello,

since today, almost everything runs perfect. I upgraded the repo mono-stable
and now it works. But I have a problem with win.forms. Maybe you have a helping
 advice for me.
the error message is this:

The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]

System.ArgumentException: The requested FontFamily could not be found [GDI+
status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x001e7] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:249 
  at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily)
[0x0005d] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/FontFamily.cs:93 
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor
(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/FontFamily.cs:122 
  at System.Drawing.Font.CreateFont (System.String familyName, Single emSize,
FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00014]
in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/Font.cs:74 
  at System.Drawing.Font..ctor (System.String familyName, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
[0x00011] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/Font.cs:375 
  at System.Drawing.Font..ctor (System.String familyName, Single emSize,
System.String systemName) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor
(string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/SystemFonts.cs:76 
  at System.Windows.Forms.Theme..ctor () [0x00011] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs:201 
  at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.ThemeEngine..cctor () [0x0003c] in
/usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeEngine.cs:51



I found it at google a lot about the same error, but no solution that worked
for me. I hope you can help me again.

best regards
rico

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list