Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

error in downloading file(pdf,text,tab,csv,xls format) in IE versions upto 8

$
0
0

hi,

i have a web application which has download options for statements in pdf,text,tab,xls,and cvs format.I am getting error on downloading or saving the files in IE versions upto 8 for https response(SSL certificate).Its working fine in IE version above 8,firefox,chrome etc and works properly in http response for all browsers.Please find below the details of error getting on clicking download or save option

"unable to download xxx.aspx from www.xxxxxx.com unable to open this Internetsite.Thie requested site either unavailable or cannot be found.Please try again later

PFB the code used for PDF

Response.Clear();
Response.ClearHeaders();
Response.ClearContent();
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", string.Format("attachment;filename="+accountSummary.getAcid()+"["+na.ToString()+"].pdf", "s"));
Response.AddHeader("expires","0");
Response.BinaryWrite(objOut.ToArray());
Response.Flush();
Response.Close();
Response.End();

The same type of code is used in all the formats.Tried replacing application/pdf with a application/octet-stream and unchecked the option do not save encrpted pages to disk from IE still getting the same error.Kindly suggest possible solutions for this error 



Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>