9
Reply

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

Arun B

Arun B

Aug 23 2013 1:17 AM
2k

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)