by bouleetbil
15. octobre 2009 22:19
I've finish to configure mojoportal that begin to works fine except this bug of mono :
The classes in the module cannot be loaded.
Description: HTTP 500. Error processing request.
Stack Trace:
System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000]
................
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
This is a know bug :
https://bugzilla.novell.com/show_bug.cgi?id=539394
http://go-mono.com/forums/#nabble-td24762879%7Ca24762879
I've disable some fonctions for now as the search for don't crash mojoportal
For the configuration of mod_mono into httpd.conf just add this :
Alias /demo "/usr/lib/xsp/test"
Alias /blogengine "/home/gaetan/www/blogengine"
Alias /cms "/home/gaetan/www/cms"
AddMonoApplications default "/demo:/usr/lib/xsp/test,/blogengine:/home/gaetan/www/blogengine,/cms:/home/gaetan/www/cms"
<Location /demo>
SetHandler mono
</Location>
<Location /blogengine>
SetHandler mono
</Location>
<Location /cms>
SetHandler mono
</Location>
I will continue to investigate this mojoportal and mono : http://dors.frugalware.org/cms
But for works fine this bug should be fixed.