无法从IE下载选项打开Excel文件 [英] Unable to open Excel File from IE Download option

查看:413
本文介绍了无法从IE下载选项打开Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

点击下载链接后,在我的应用程序中,IE会提示打开/保存。如果我点击保存并稍后打开文件(excel)则没有问题。但如果我直接点击打开,我会收到以下错误。我还验证并发现同样的
文件位于

In my application after clicking download link, IE prompts to Open/Save. If I click on save and open the file(excel) later there is no issue. But if I will click on open directly I am getting the below error. I have also verified and found that the same file in located in

C:\ Users \ [UserName] \ AppData \ Local \ Myicoft \ Windows \Temporary Internet Files\Content.IE5\YQT7ORDA\FIleName.xlsx

C:\Users\[UserName]\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\YQT7ORDA\FIleName.xlsx

任何人对此有任何想法......

Anybody having any idea on this...

< img alt =""src ="https://social.msdn.microsoft.com/Forums/getfile/1083512">

Amit Sahoo

Amit Sahoo

推荐答案

您好,

工具>互联网选项>安全标签,点击"将所有区域重置为默认值" ;

Tools>Internet Options>Security tab, click "Reset all zones to default"

工具>管理插件>显示所有插件....找到Microsoft部分并确保已启用IE的所有Office扩展。

Tools>Manage Addons>Show all addons.... locate the Microsoft section and ensure that all Office extensions for IE are enabled.

工具> Internet选项>高级选项卡,取消选中"不将加密文件保存到磁盘"....

Tools>Internet Options>Advanced tab, uncheck "Do not save encrypted files to disk"....

使用IE中的文件>属性菜单确定域中的哪个IE安全区域你有excel文件链接的地方。将此信息与您使用的Office版本一起包含在您的问题中。

Use the File>Properties menu in IE to determine which IE security zone the domain where you have the links to the excel document. Include this information together with the version of Office that you are using with your question.

还包括下载链接的标记和脚本....常见的设计模式是使用超链接...< a href =" excel.xlsx"目标= QUOT; _blank"> excel.xlsx< / A>这样用户可以选择右键单击并选择
"将目标另存为";下载链接上提供的选项,绕过打开/保存提示...选择打开选项会调用IE的Office插件。

Also include the markup and scripting of your download link.... the common design pattern is to use a hyperlink... <a href="excel.xlsx" target="_blank">excel.xlsx</a> so that users can choose to right-click and select the "Save target as" option available on the download link, circumventing the open/save prompt... choosing the open option invokes an Office addon for IE.

问候。

关于使用MSIE Web浏览器进行网站开发的html,css和脚本的问题。

Questions about html, css and scripting for web site development using MSIE web browsers.


这篇关于无法从IE下载选项打开Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆