Raja Rethinam

Raja Rethinam

  • NA
  • 53
  • 1.8k

A generic error occurred in GDI+.

Aug 3 2007 1:14 AM

hy,

 
   I hav been using a code to capture the desktop as a screenshot.user32,gdi32 are the shell commands i hav been using.
 
when in remote[client] server im getting the desktop image as black image,and
 
an Exception produced in the code.....
 
The Error  :
   System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at System.Drawing.Image.Save (String filename, ImageFormat format) at desktop.Page_Load(Object sender, EventArgs e)
 
Beside i have granted all the permissions to the asp.net directory provided with all permissions... even i hav been getting this error message..
 
 
pls get me a solution for this....
 
pls get me an issue to solve this problem