[Mono-list] gdiplus.dll not found

Sebastien Pouliot sebastien.pouliot at gmail.com
Fri Apr 24 14:47:49 EDT 2009


Andrus,

You likely did not build (or install your distro) libgdiplus

Sebastien

On Fri, 2009-04-24 at 21:39 +0300, Andrus wrote:
> I tried mod_mono with Mono 2.4 and got exception:
> 
> System.TypeInitializationException: An exception was thrown by the type 
> initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: 
> gdiplus.dll
>   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup 
> (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
>   at System.Drawing.GDIPlus..cctor () [0x000c6] in 
> /var/ports/var/ports-src/lang/mono/work/mono-2.4/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:126
>   --- End of inner exception stack trace ---
>   at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat 
> format) [0x00006] in 
> /var/ports/var/ports-src/lang/mono/work/mono-2.4/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:96
>   at System.Drawing.Bitmap..ctor (Int32 width, Int32 height) [0x00000] in 
> /var/ports/var/ports-src/lang/mono/work/mono-2.4/mcs/class/System.Drawing/Assembly/AssemblyInfo.cs:1
>   at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
> (int,int)
>   at fyiReporting.RDL.Pages..ctor (fyiReporting.RDL.Report r) [0x00000]
>   at fyiReporting.RDL.ReportDefn.RunPage (IPresent ip) [0x00000]
>   at fyiReporting.RDL.ReportDefn.Run (IPresent ip) [0x00000]
>   at fyiReporting.RDL.Report.RunRender (IStreamGen sg, 
> OutputPresentationType type, System.String prefix) [0x00000]
>   at fyiReporting.RdlAsp.RdlReport.Generate (fyiReporting.RDL.Report report) 
> [0x00000]
> 
> How to fix ?
> 
> Andrus. 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list