[Mono-list] GDI+ Generic Error

Timothy Parez timothyparez at gmail.com
Thu May 8 09:01:40 EDT 2008


I submitted: https://bugzilla.novell.com/show_bug.cgi?id=388198

I hope it's sufficient :-)


Timothy

On 08 May 2008, at 14:38, Sebastien Pouliot wrote:

> 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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080508/fe104361/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080508/fe104361/attachment.bin 


More information about the Mono-list mailing list