[Mono-list] nGallery, mono-1.1.4 & libgdiplus

simon sjen5@bigpond.com
Thu, 24 Feb 2005 18:43:07 +1100


Im getting the following error when i try and upload an image in 
nGallery.  From what i can gather looking through the code and logging 
bits a peices its trying to resize and image. 

Running on an ubuntu hoary box, xsp, mod_mono, mono-1.1.4, libgiplus-1.1.4

Anyone got any ideas??  Am i missing some library, or shall i continue 
to a debug logging code to nGallery until i can find the exact line that 
is causing the issue


  Server error in '/nGallery' application

------------------------------------------------------------------------
*Description: *Error processing request.

*Error Message: *HTTP 500.

*Stack Trace: * ||

System.Exception: Generic Error.
in <0x00046> System.Drawing.GDIPlus:CheckStatus (System.Drawing.Status)
in <0x00093> System.Drawing.Image:Save (string,System.Drawing.Imaging.ImageCodecInfo,System.Drawing.Imaging.EncoderParameters)
in <0x0006b> (wrapper remoting-invoke-with-check) System.Drawing.Image:Save (string,System.Drawing.Imaging.ImageCodecInfo,System.Drawing.Imaging.EncoderParameters)
in <0x009ea> nGallery.Lib.PhotoCache:GetScaledPicture ()
in <0x0008b> nGallery.Lib.PhotoCache:GetThumbnail ()
in <0x003d4> nGallery.admin.addPicture:btnSubmit_ServerClick (object,System.EventArgs)
in <0x00045> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00055> System.Web.UI.HtmlControls.HtmlInputButton:OnServerClick (System.EventArgs)
in <0x0003d> System.Web.UI.HtmlControls.HtmlInputButton:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (string)
in <0x00016> System.Web.UI.Page:RaisePostBackEvent (System.Web.UI.IPostBackEventHandler,string)
in <0x00033> System.Web.UI.Page:RaisePostBackEvents ()
in <0x00238> System.Web.UI.Page:InternalProcessRequest ()
in <0x000a9> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x00233> ExecuteHandlerState:Execute ()
in <0x0007c> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)