Arun B

Arun B

  • NA
  • 50
  • 10.1k

A generic error occurred in GDI+ error in godday server?

Aug 23 2013 1:17 AM

hi frds...
 can u tel me how to set imagePath in godday ???


i got error like given image



my coding is

imagePath = System.IO.Path.GetExtension(
upload_Image.PostedFile.FileName);
Bitmap b = new Bitmap(upload_Image.PostedFile.InputStream);
                    Bitmap newim = RentfreeImage.RentfreeImageOptimiser(b, 100, 140);
                    newim.Save(Server.MapPath("/")  + @"Blueware\" + @"images\profileImg\" + System.IO.Path.GetExtension(upload_Image.PostedFile.FileName));

help p/z




Answers (9)