When I enter the full hard disk path as a parameter of the method Image.Save, I get no error and the file is being saved on the desired location. But I want the image saved inside Web project folder of the application so I use this code:
myImage.Save(Server.MapPath("SomeApp.Web/report.png"), System.Drawing.Imaging.ImageFormat.Png);
and then I get the following error. Logically, this path is OK, so why error?!
PS. myImage is of type System.Drawing.Image.