Pdf Over Ssl Error With Internet Explorer
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions internet explorer 11 file couldn't be downloaded you might have Meta Discuss the workings and policies of this pdf couldn't be downloaded ie 11 site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers internet explorer 11 cannot download files or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Do Not Save Encrypted Pages To Disk Ie 11
of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Generating PDF, error with IE and HTTPS up vote 12 down vote favorite 10 I am streaming a PDF to the browser in ASP.NET 2.0. This works in all browsers over HTTP and all file could not be downloaded internet explorer browsers except IE over HTTPS. As far as I know, this used to work (over the past 5 years or so) in all versions of IE, but our clients have only recently started to report issues. I suspect the Do not save encrypted pages to disk security option used to be disabled by default and at some point became enabled by default (Internet Options -> Advanced -> Security). Turning this option off helps, as a work-around, but is not viable as a long term solution. The error message I am receiving is: Internet Explorer cannot download OutputReport.aspx from www.sitename.com. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later. The tool used to create the PDF is ActiveReports from DataDynamics. Once the PDF is created, here is the code to send it down: Response.ClearContent() Response.ClearHeaders() Response.AddHeader("cache-control", "max-age=1") Response.ContentType = "application/pdf" Response.AddHeader("content-disposition", "attachment; filename=statement.pdf") Response.AddHeader("content-length", mem_str
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack couldn't download emtee Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow
Couldn't Be Downloaded Ie 10
is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Can't display PDF from
Internet Explorer Cannot Download Files Security Settings
HTTPS in IE 8 (on 64-bit Vista) up vote 42 down vote favorite 19 I have a home-grown HTTPS server that serves up simple files (it's embedded within my app). It works great -- been using it forever. Recently added SSL support -- http://stackoverflow.com/questions/1202285/generating-pdf-error-with-ie-and-https Chrome, FireFox and IE all like it and load pages just fine. The problem I find is when I try to load a PDF file over the HTTPS connection. For some reason, the PDF never displays in IE 8 (64-bit on 64-bit Vista). It works fine in Chrome. And it works fine in IE 8 when using plain HTTP -- only fails when using HTTPS. NOTE: When IE 8 is mentioned, it's 32-bit IE 8 on 64-bit Vista, although the 64-bit IE 8 has the same http://stackoverflow.com/questions/1038707/cant-display-pdf-from-https-in-ie-8-on-64-bit-vista behavior. That makes me think it's some sort of IE 8/HTTPS/PDF/64-bit OS issue, but I'm not sure. DebugBar for IE 8 shows the request and response went exactly as expected -- no errors at all. IE 8 doesn't show any errors or anything -- pure white screen (or the page that was displayed before I tried to load the PDF). Cleared cache/cookies/etc. Are there any known issues with IE/PDF/HTTPS? internet-explorer pdf internet-explorer-8 https 64bit share|improve this question edited Jun 24 '09 at 15:01 asked Jun 24 '09 at 14:26 DougN 2,31794064 3 Might be this IE bug (5,5.5,6,7 and 8) is described here: support.microsoft.com/kb/323308 –x0n Jun 2 '10 at 18:32 1 Acrobat/Reader is only available as a 32-bit app. I believe Adobe only makes 32-bit plugins for browsers as well, so there's no way to view a PDF in a 64-bit browser... at least not with Acrobat/Reader. –Mark Storer Dec 17 '10 at 21:36 add a comment| 8 Answers 8 active oldest votes up vote 37 down vote accepted Thought I'd come back and give the final answer. Thank you to everyone that suggested "Do not save encrypted pages to disk". I followed EricLaw's advice and set: Cache-Control: private I also found that I had Pragma: no-cache, which I removed. Works like a charm now :) share|improve this answer edited Sep 30 '13 at 13:43 bluish 9,4231270126 answered Oct 29 '09 at 19:02 DougN 2,31794064 Worked like a charm for me too! –LaJmOn Dec 30 '09 at 22:43 2 Header set Pragma "no-cache
Workaround Note that if you try to open an attachment in a secure site, for example a https://confluence.atlassian.com/confkb/unable-to-download-attachments-in-ie-over-ssl-203392541.html PDF document, the relevant application will try to open it but will report the file cannot be found. However, if you right click the document and choose "Save as" this will work. To fix this, in IE go to the "Tools>Internet Options" menu and click on the Advanced Tab, scroll down to internet explorer the bottom and look for "Do not save encrypted pages to disk" option - make sure that you un-tick this. This problem is known to affect IE6 and has been reported in Microsoft's knowledge base. Cause IE will not download attachments into its Temporary Internet Files folder when in SSL mode.You can find couldn't be downloaded further information in these links: IE9:Error message when you download files by using Internet Explorer 9 from secure websites: "