Forum  General Visual ...  Install It!  mod_mono error
Previous Previous
 
Next Next
New Post 9/27/2007 2:43 AM
  awesterhold
31 posts
No Ranking


mod_mono error 
Hi there,

I have a problem getting a really simply form running using Mono.

Mono Version: 1.2.5-1
Apache Version: 2.0.59
VWG Version : WebGUI-V5.82.2

First of all I ran into the problems described in the Forum using local copy to get the needed DLL's + the missing uiCulture in web.config and last but not least the <location /myloc>SetHandler mono</location>.

Now I get the page without script errors but the Load Icon is spinning and spinning on Firefox (Mac OSx) and the IE on Windows reports following error:

Server Error in '/test' Application

--------------------------------------------------------------------------------

The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
Description: Error processing request.

Error Message: HTTP 500. System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]

Stack Trace:

System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
  at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily) [0x00000]
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor (System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000]
  at System.Drawing.Font.CreateFont (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00000]
  at System.Drawing.Font..ctor (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00000]
  at System.Drawing.Font..ctor (System.String familyName, Single emSize, System.String systemName) [0x00000]
  at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000]
  at Gizmox.WebGUI.Forms.Control.get_DefaultFont () [0x00000]
  at Gizmox.WebGUI.Forms.Control..ctor () [0x00000]
  at Gizmox.WebGUI.Forms.ScrollableControl..ctor () [0x00000]
  at Gizmox.WebGUI.Forms.ContainerControl..ctor () [0x00000]
  at Gizmox.WebGUI.Forms.Form..ctor () [0x00000]
  at WGTest.Form1..ctor () [0x00000]
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder
 

Anyone has any idea what I am missing,

Regards,
Axel
 
New Post 9/27/2007 5:26 AM
  awesterhold
31 posts
No Ranking


Re: mod_mono error 
Ok :-) Sorry,

I installed a console only server and as such it had no x11 fonts installed !

installing xorg-fonts helped :-)

Regards,
Axel
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Install It!  mod_mono error
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS