[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

A generic error occurred in GDI+.

Niraj Ranka

11/19/2004 1:31:00 PM

Hello,


In Asp.Net, i am merging two images and saving the file. I am getting the
error "A generic error occurred in GDI+. " when i try to save the file.

Can any one, please give me the reason for it, i had also given the write
permission to the folder for aspnet user...

Thanx in advance,

Niraj Ranka


4 Answers

James Westgate

11/20/2004 12:28:00 AM

0

Are you trying to save over one of the files you opened for drawing from?

James

--
Create interactive diagrams and flowcharts with ERM Diagram at
http://www.cra...

Take the ERM Tour at http://www.flowchartc...

"Niraj Ranka" <niraj.ranka@ameriteck.net> wrote in message
news:%237011vjzEHA.3976@TK2MSFTNGP09.phx.gbl...
> Hello,
>
>
> In Asp.Net, i am merging two images and saving the file. I am getting the
> error "A generic error occurred in GDI+. " when i try to save the file.
>
> Can any one, please give me the reason for it, i had also given the write
> permission to the folder for aspnet user...
>
> Thanx in advance,
>
> Niraj Ranka
>
>


Niraj Ranka

11/20/2004 5:38:00 AM

0

Hello,

I am actually trying to save on the file... which is being merged.

I have image1 and image2, i am merging image2 in image1 and trying to
save image1... by save method.

I have given the permission to the aspnet user... and also setted the
write permission in the IIS.


Niraj Ranka

*** Sent via Developersdex http://www.develop... ***
Don't just participate in USENET...get rewarded for it!

James Westgate

11/20/2004 12:56:00 PM

0

Try save to a new file

James


"Niraj Ranka" <nirajranka@rediffmail.com> wrote in message
news:uIISmMszEHA.3548@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> I am actually trying to save on the file... which is being merged.
>
> I have image1 and image2, i am merging image2 in image1 and trying to
> save image1... by save method.
>
> I have given the permission to the aspnet user... and also setted the
> write permission in the IIS.
>
>
> Niraj Ranka
>
> *** Sent via Developersdex http://www.develop... ***
> Don't just participate in USENET...get rewarded for it!


William Main

1/4/2005 12:08:00 AM

0

I was getting this error when I used a stream to get an image. If I closed
the stream and then tried to save that image I get the error. If I leave the
stream open then it is ok. The KB article 814675 talks about this.

http://support.microsoft.com/...

William Main

"James Westgate" <jameswestgate@nospam.nospam> wrote in message
news:u2mUBBwzEHA.3596@TK2MSFTNGP12.phx.gbl...
> Try save to a new file
>
> James
>
>
> "Niraj Ranka" <nirajranka@rediffmail.com> wrote in message
> news:uIISmMszEHA.3548@TK2MSFTNGP09.phx.gbl...
>> Hello,
>>
>> I am actually trying to save on the file... which is being merged.
>>
>> I have image1 and image2, i am merging image2 in image1 and trying to
>> save image1... by save method.
>>
>> I have given the permission to the aspnet user... and also setted the
>> write permission in the IIS.
>>
>>
>> Niraj Ranka
>>
>> *** Sent via Developersdex http://www.develop... ***
>> Don't just participate in USENET...get rewarded for it!
>
>