Bra*_*fur 8 asp.net streaming internet-explorer-8
我使用以下asp.net代码来传输word文档.
Response.Clear();
Response.ContentType = "application/vnd.ms-word";
Response.AddHeader("content-disposition", "attachment;filename=\"" + Letter.WordFileName.Replace(" ", "%20").Replace("&", "And") + "\"");
Response.BinaryWrite(Letter.WordDocument.ToMSWordDocument());
Response.End();
Run Code Online (Sandbox Code Playgroud)
上周,我尝试在ie8中传输文件时开始收到以下消息
无法从[服务器]下载[文件]
无法打开此Internet站点.请求的站点不可用或无法找到.请稍后再试.
更新到ie9后我没有收到错误,但我的大多数用户仍然使用ie8.我觉得这可能与Windows安全补丁有关,但我从谷歌搜索中找不到这样的东西.
以下是一些更多信息:
响应标题
HTTP/1.1 200 OK Cache-Control:private,no-cache ="Set-Cookie"Content-Type:application/vnd.ms-word服务器:Microsoft-IIS/7.5 Set-Cookie:.ASPXAUTH =; path =/content-disposition:attachment; filename ="Septa%20Roberts%20Compound%2020111226 [1] .doc"X-AspNet-Version:4.0.30319 X-Powered-By:ASP.NET Date:Tue,2012年1月10日16:07:51 GMT内容 - 长度:147456
我想这是因为浏览器有一些东西导致了这个问题,其他工作站在尝试在 IE 8 中访问这个网站时是否有这个问题?
1) 使用 - SpyBot-Search & Destroy - http://www.safer-networking.org/index2.html检查恶意 软件 - 广告软件 - http://www.lavasoft.nu/home.php
2) 您是否安装了任何额外的防病毒软件或防火墙(如果有)它们是什么?它们可能需要至少暂时完全卸载,以尝试找出导致此问题的原因。
| 归档时间: |
|
| 查看次数: |
7403 次 |
| 最近记录: |