本文介绍了互联网资源管理器显示错误的SSL站点下载的Excel文件时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在下载SSL站点的Excel文件时,我得到了以下错误:

I get the following error when downloading excel file in SSL site:

Internet Explorer cannot download xxxx.aspx from mysite.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.

谷歌搜索后,我怀疑它的响应头的问题。结果
我试图在这个页面的解决方案,并设置页眉:结果

            HttpContext.Current.Response.AddHeader("Pragma", "no-cache");
            HttpContext.Current.Response.CacheControl = "private";

但它不工作。
有什么建议?

But it doesn't work.Any suggestions?

推荐答案

这是从马的嘴里这么说:)我们实际上只是面临着同样的问题,当我们切换到一个完整的SSL会话。

Take a look at this article. It's from the horse's mouth so to speak :) We actually just faced this same issue when we switched to a full SSL session.

这篇关于互联网资源管理器显示错误的SSL站点下载的Excel文件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 07:01