AW: [Mono-list] nGallery and Mono

Thomas Zöchling thomas.zoechling@gmx.at
Tue, 9 Nov 2004 14:24:13 +0100


Thank you Joseph and Gonzalo.
mod_mono 1.0.4 did it.
BUT:

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="libgdiplus.so"/> 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
(object,System.EventArgs)
	in <0x00069> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
	in <0x00068>
System.Web.UI.HtmlControls.HtmlInputButton:OnServerClick
(System.EventArgs)
	in <0x00053>
System.Web.UI.HtmlControls.HtmlInputButton:System.Web.UI.IPostBackEven
tHandler.RaisePostBackEvent (string)
	in <0x00016> System.Web.UI.Page:RaisePostBackEvent
(System.Web.UI.IPostBackEventHandler,string)
	in <0x0003e> System.Web.UI.Page:RaisePostBackEvents ()
	in <0x002c3> System.Web.UI.Page:InternalProcessRequest ()
	in <0x000c2> System.Web.UI.Page:ProcessRequest
(System.Web.HttpContext)
	in <0x002eb> ExecuteHandlerState:Execute ()
	in <0x00084> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)
	


-----Ursprüngliche Nachricht-----
Von: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] Im Auftrag von Gonzalo Paniagua
Javier
Gesendet: Montag, 08. November 2004 23:14
An: mono-list@lists.ximian.com
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 127.0.0.1 Port 
> 80
> 
>  
> 
> I used this tutorial
> 
> http://www.gotmono.net/gotmono/nGalleryHowTo.html,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

-Gonzalo


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list