Discussion:
File downloads in IE6.0 under SSL
(too old to reply)
Steven
2006-09-18 00:07:01 UTC
Permalink
Long story short I am unable to download a file using Response.BinaryWrite
running under SSL and I am seeking any advice anyone may have.

See the thread titled "Behaviour difference on IIS 5.x and 6.0" at
http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=microsoft.public.inetserver.iis&lang=en&cr=US dated 9/17/2006
Walter Wang [MSFT]
2006-09-18 08:18:27 UTC
Permalink
Hi,

Is it possible that your web page is sending HTTP header
"Cache-control:no-cache" or "Pragma:no-cache"?

"Internet Explorer Cannot Download" Error Message When You Use an HTTPS URL
to Open an Office Document or PDF File
http://support.microsoft.com/kb/812935/

I can reproduce this issue by adding following code:

Response.Cache.SetCacheability(HttpCacheability.NoCache);

Please reply to let me know whether or not this suggestion answers your
question.

Sincerely,
Walter Wang (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT]
2006-09-20 14:33:50 UTC
Permalink
Hi,

I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.

Have a great day!

Regards,
Walter Wang (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Steven
2006-09-21 11:31:02 UTC
Permalink
Walter, your correct. This was preventing the download and now my web form
works just fine. I removed this from the web form during testing with no luck
and I removed it from the base page however it was defined twice in the base
page. Once all references were removed it worked fine.

I still find it stange that under IE6 it did not work at all and with
FireFox 1.5 the download worked perfectly.
Post by Walter Wang [MSFT]
Hi,
Is it possible that your web page is sending HTTP header
"Cache-control:no-cache" or "Pragma:no-cache"?
"Internet Explorer Cannot Download" Error Message When You Use an HTTPS URL
to Open an Office Document or PDF File
http://support.microsoft.com/kb/812935/
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Please reply to let me know whether or not this suggestion answers your
question.
Sincerely,
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT]
2006-09-22 05:24:25 UTC
Permalink
If you take a look at http://support.microsoft.com/kb/812935/, it's a bug
in IE 6.0 sp1. It only occurs when "Do not save encrypted pages to disk" is
selected in IE and server sends "Cache-Control: No Cache" or
"Cache-Control: No Store".

The KB has a hotfix for IE6. Without the hotfix, we can workaround it by
either unselect the option in IE or server doesn't set the Cache-Control
header using "No Cache" or "No Store".

Regards,
Walter Wang (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Continue reading on narkive:
Loading...