Hi,
I am displaying the image in AJAX modal popup on the click event of link button which is converted from byte data fetched from MS SQL DB is happening properly when I run the app from visual studio.
byte[] ImgData = CommonProgs.GetImgData(int Id);
if (ImgData != null)
{
string strFilePath = Server.MapPath("~/Images/Img.jpeg");
if (File.Exists(strFilePath))
{ File.Delete(strFilePath); }
MemoryStream ms = new MemoryStream(CustImgData);
Bitmap bmp = new Bitmap(ms);
bmp.Save(strFilePath, System.Drawing.Imaging.ImageFormat.Jpeg);
ImgModalPopupExtender.Show();
But when I deployed the same app on local IIS as well as on godaddy server it is showing the below error.
