AW: [Mono-list] nGallery and Mono

Thomas Zöchling
Tue, 9 Nov 2004 14:24:13 +0100

Thank you Joseph and Gonzalo.
mod_mono 1.0.4 did it.

Now I ran into problems with gdiplus.dll:
At first I emerged (gentoo) libgdiplus 1.0.4 and restarted apache.
->Same error

After some searches I found that mono comes with a list of shared library
wrappers in the config file. 
So I added <dllmap dll="gdiplus.dll" target=""/> to
/etc/mono/config (gentoo) and restarted apache
->Same error

BTW: Is there a GAC concept in mono?

Server error in '/nGallery' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

	System.DllNotFoundException: gdiplus.dll
	in <0x00053> (wrapper managed-to-native) Syste
m.Drawing.GDIPlus:GdipLoadImageFromFile (string,intptr&)
	in <0x0003d> System.Drawing.Bitmap:InitFromFile (string)
	in <0x00056> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:InitFromFile (string)
	in <0x0001c> System.Drawing.Bitmap:.ctor (string,bool)
	in <0x0006b> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:.ctor (string,bool)
	in <0x00025> System.Drawing.Image:FromFile (string,bool)
	in <0x00219> nGallery.Lib.PhotoCache:GetScaledPicture ()
	in <0x000ac> nGallery.Lib.PhotoCache:GetThumbnail ()
	in <0x004a8> nGallery.admin.addPicture:btnSubmit_ServerClick
	in <0x00069> (wrapper delegate-invoke)
	in <0x00068>
	in <0x00053>
tHandler.RaisePostBackEvent (string)
	in <0x00016> System.Web.UI.Page:RaisePostBackEvent
	in <0x0003e> System.Web.UI.Page:RaisePostBackEvents ()
	in <0x002c3> System.Web.UI.Page:InternalProcessRequest ()
	in <0x000c2> System.Web.UI.Page:ProcessRequest
	in <0x002eb> ExecuteHandlerState:Execute ()
	in <0x00084> StateMachine:ExecuteState

-----Ursprüngliche Nachricht-----
[] Im Auftrag von Gonzalo Paniagua
Gesendet: Montag, 08. November 2004 23:14
Betreff: Re: [Mono-list] nGallery and Mono

On Thu, 2004-11-04 at 22:47 +0100, Thomas Zöchling wrote:
> I try to setup nGallery on the following configuration:
> Apache/2.0.51 (Gentoo/Linux) mod_mono/1.0.2 Server at Port 
> 80
> I used this tutorial
>,which partially 
> works, except the “add album” function
> and some other pages don’t work. 
> This is the error page:
> OK
> The server encountered an internal error or misconfiguration and was 
> unable to complete your request.
> Please contact the server administrator, root@localhost and inform 
> them of the time the error occurred, and anything you might have done 
> that may have caused the error.
> More information about this error may be available in the server error =

> log.

This was fixed in mod_mono 1.0.4


Mono-list maillist  -