[Mono-list] GDI+ Generic Error

Sebastien Pouliot sebastien.pouliot at gmail.com
Thu May 8 08:38:44 EDT 2008


Hello Timothy,

On Thu, 2008-05-08 at 14:13 +0200, Timothy Parez wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Some time ago I requested help with an ASP.NET application throwing a  
> GDI+ Generic Error.
> All this time I assumed this was a Mono issue, I was wrong.
> 
> The problem was simply access rights to the folder where I was saving  
> thumbnail images.
> 
> System.Drawing.Image thumbnail = ..... bla bla bla
> 
> thumbnail.Save("path where I want to store");
> 
> Instead of throwing an exception with relevant information such as  
> "The specified path does not exist or is invalid or whatever"...
> both Mono and .NET throw a Generic GDI+ exception here.

We try to always match MS SD exceptions - but this is not a case I
remember testing. Could you fill a bug report about this ? (extra points
for a unit tests ;-)

Thanks
Sebastien

> Just posting in case someone runs into similar problems.
> 
> 
> Timothy.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> 
> iD8DBQFIIu6C+j5y+etesF8RAjkhAKCmKL+sC8rTqwbz+c21vlCG9muCUQCg4tOd
> /ayIAVkahgnpHLPij+Uu4KA=
> =oieu
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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