Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

When trying to download a PDF file generated through a web page using an HTTPS Url in Internet Explorer (all versions from 5.01 through 8) you will recieve the following error message:

Unable to download 'xxxxxxx'. Internet Explorer was unable to open this site. The requested site is either unavailable or cannot be found. Please try again later.

This is caused when the header of the response that sends the file (PDF or Office document) contains a 'Cache-control:no store' or 'no-cache' element. One of the work arounds is editing the client registry. For a web application this is not an option.

A more permanent solution is not using the Cache-control header when using HTTPS Urls. SSL pages are not cached, so a simple check if the request starts with https ascertains you do not need the cache-control header.

This feature does not occur when browsing with other explorer brands.

 © Evident Interactive BV