Re: IE cannot download .pdf, .doc, .xls from HTTPS site

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

Did you get aresolution to this problem. I am in desperate need of an answer
to this problem as I ahve 100's of clients waiting for this to work.

Thx
M

"Andrew Hayes" wrote:

Revisiting this thread as it's a problem that has recently cropped up with
Win2K3 SP2 and IE7.

We have a web server that creates XLS documents for users to download, all
the IE versions after 6 SP1 fail to download the file over HTTPS.

Yes, yes. It's a possible server-side misconfiguration problem... But that's
the way that IIS works out of the box for R2 and for new installs of IE7.

Anyhow, I use this C# code to transmit the XLS document to the browser after
it has been created on the server -

Response.ClearHeader();
Response.ClearContent();
Response.Clear();
Response.ContentType = "text/text";
Response.AddHeader( "Content-Disposition", "inline; filename =" + FileName );
Response.AddHeader( "Content-Length", FileSize.ToString() );
Response.BinaryWrite(Buffer);
Response.Buffer = true;
Response.Flush();
Response.Clear();
Response.End();

The above code correctly shows the Download file dialog, or opens the Excel
document in a window (depending on the client settings), so long as the user
connects to the website via HTTP.

As soon as they try using HTTPS they get the OP's error, but before they
have even downloaded the file. There is no download prompt.

What I am trying to avoid is having users mess about with their IE settings
just to download a few Excel documents, especially since the above code works
fine for PDF documents over HTTPS (I'm talking about over 10,000 users here
from over 100 companies - and the only complaints are from IE users).

Yes, the site they are accessing is in their IE Trusted Zone.

In the interest of bettering customer relations (mine specificially), I have
no problem with making whatever changes I need to make to the IIS servers to
get XLS downloads over HTTPS to work every time, regardless of browser
settings or versions. So far, nothing I've tried has worked.

If someone would be so kind as to spell out what IIS settings should be
changed, and exactly what C# code I should be using, then I would be very
grateful and you'd earn a lot of kudos.


.



Relevant Pages

  • Re: IE cannot download .pdf, .doc, .xls from HTTPS site
    ... We have a web server that creates XLS documents for users to download, ... As soon as they try using HTTPS they get the OP's error, ...
    (microsoft.public.inetserver.misc)
  • Re: IE Security-- useless
    ... Then I needed to download some additional ... Default IE security settings made it ... You shouldn't be downloading from the POV of a server. ...
    (microsoft.public.security)
  • Re: Huge performance problem on Exchange 2003
    ... >> attachments to be downloaded by using RPC over HTTP (or RCP over HTTPS ... >> network. ... >> address book server. ... >> takes these files to download very long. ...
    (microsoft.public.exchange.admin)
  • Re: Cant download updates
    ... No EULA, no download nothing. ... > Recheck your Security & Privacy settings AND the ADVANCED settings ... > Windows Update Troubleshooter at MS ... I'm wondering if this is a server issue. ...
    (microsoft.public.windowsxp.general)
  • Re: Help downloading this site
    ... Select your newsgroup server and copy down all the information in the form. ... Then select "Server Settings" and copy down the server name. ... After that, when you select one of the groups for the first time, it will download a few thousand headers. ... If you read the groups from both work and home computers, you'll get real familiar with marking messages as read. ...
    (rec.aviation.owning)