[Mono-list] System.Exception: Generic Error [GDI+ status: GenericError]

Timothy Parez timothyparez at gmail.com
Sat Mar 15 11:47:15 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have done a clean install of Mono 1.9 and I get the same exception  
for my ASP.NET sites as with all previous builds of mono 1.9

Server Error in '/' Application
Generic Error [GDI+ status: GenericError]

Description: HTTP 500. Error processing request.

Stack Trace:

System.Exception: Generic Error [GDI+ status: GenericError]
   at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0007c] in / 
usr/src/mono-1.9/mcs/class/System.Drawing/System.Drawing/ 
gdipFunctions.cs:216
   at System.Drawing.Image.Save (System.String filename,  
System.Drawing.Imaging.ImageCodecInfo encoder,  
System.Drawing.Imaging.EncoderParameters encoderParams) [0x00043] in / 
usr/src/mono-1.9/mcs/class/System.Drawing/System.Drawing/Image.cs:457
   at System.Drawing.Image.Save (System.String filename,  
System.Drawing.Imaging.ImageFormat format) [0x0004c] in /usr/src/ 
mono-1.9/mcs/class/System.Drawing/System.Drawing/Image.cs:441
   at System.Drawing.Image.Save (System.String filename) [0x00000] in / 
usr/src/mono-1.9/mcs/class/System.Drawing/System.Drawing/Image.cs:427
   at (wrapper remoting-invoke-with-check) System.Drawing.Image:Save  
(string)
   at Arendee.ObjectBlog.GoogleImage.cacheThumbnails  
(System.Collections.Generic.List`1 Images) [0x0012d] in /tmp/www-data- 
temp-aspnet-0/29dc6e76/App_Web_2c54e5ea_9.cs:268
   at Arendee.ObjectBlog.GoogleImage.Get (System.String GoogleId,  
System.String Album) [0x004e6] in /tmp/www-data-temp-aspnet-0/29dc6e76/ 
App_Web_2c54e5ea_9.cs:227
   at (wrapper managed-to-native)  
System.Reflection.MonoMethod:InternalInvoke (object,object[])
   at System.Reflection.MonoMethod.Invoke (System.Object obj,  
BindingFlags invokeAttr, System.Reflection.Binder binder,  
System.Object[] parameters, System.Globalization.CultureInfo culture)  
[0x00055] in /usr/src/mono-1.9/mcs/class/corlib/System.Reflection/ 
MonoMethod.cs:149

Version information: Mono Version: 2.0.50727.42; ASP.NET Version:  
2.0.50727.42


Check out for yourself: http://www.itcrowd.be/gallery.aspx --> select  
blogshots for example.
When I add a new image to google, the first time the image is  
requested, a thumbnail is created, hence the requirement for  
libgdiplus. Because the blogshots gallery
contains new images it tries to create a thumbnail and fails.

The same is true for my admin page, which requires some System.Drawing  
functionality as well.

Any  ideas?


Timothy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFH2++D+j5y+etesF8RAq/6AJ0c1WHzz3r+vnzGPFey+0vkuWBtUwCeIqpb
38PoXI13yotqlGco7tZhCMo=
=JLJq
-----END PGP SIGNATURE-----


More information about the Mono-list mailing list