[Mono-list] gdiplus.dll not found

Andrus kobruleht2 at hot.ee
Fri Apr 24 14:39:16 EDT 2009


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. 



More information about the Mono-list mailing list