无法使用 Internet Explorer 在 SharePoint 2010 中打开 PDF 文件 [英] Can't open PDF files in SharePoint 2010 with Internet Explorer

查看:53
本文介绍了无法使用 Internet Explorer 在 SharePoint 2010 中打开 PDF 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此我们无法在 SP2010 站点的浏览器中打开 .pdf.我在中央管理中将设置设置为允许浏览器文件处理.然后我发现有一个错误,如果站点是从自定义模板创建的,上传到该站点的 pdf 文件仍会提示保存或取消.我在服务器上运行了一个修补程序http://support.microsoft.com/kb/2459108

So we couldn't open .pdf in the browser in our SP2010 site. I set the setting to permissive browser file handling in central admin. I then found out that there's a bug that if a site is created from a custom template the pdf files uploaded to that site will still prompt for either Save or Cancel. I ran a hotfix on the server http://support.microsoft.com/kb/2459108

考虑以下场景:

  • 您在 SharePoint 2010 管理中心的常规设置页面中将 Web 应用程序的浏览器文件处理设置为许可.
  • 您创建了一个文档库,然后上传了一个 html 文档.
  • 您在浏览器中打开 html 文档.
    注意 系统不会提示您下载 html 文档,而是在浏览器中呈现.
  • 您选择在将 SharePoint 网站另存为模板时包括内容.
  • 您可以使用该模板在同一 Web 应用程序中创建新的 SharePoint 网站.

在这种情况下,新站点中文档库的浏览器文件处理列表设置设置为严格.此外,当您打开 html 文档时,系统会提示您下载文件.

In this scenario, the Browser File Handling list setting for the document library in the new site is set to Strict. Additionally, when you open the html document, you are prompted to download the file.

现在我用firefox点击pdf可以直接打开,但是用internet explorer(8和9,默认设置)还是打不开,请问有什么解决办法?

Now when I click on a pdf with firefox I can open it directly but with internet explorer (8 and 9, default settings) I still can't do it, what's the solution here?

也许它总是在 Firefox 中工作,无论如何,当我创建一个新库时,它会按预期工作.如何在所有库上运行此设置?

Maybe it always worked in firefox, anyway, when I create a new library it works as expected. How can I run this setting on all libraries?

推荐答案

这个问题有一个不同的、更微妙但更简单的根本原因.

There's a different, more subtle, but simpler root cause of this problem.

经过大量网络搜索和 MSFT 支持数小时后,尽管难以置信,但事实证明我的SharePoint 无法打开 PDF 文档"问题的根本原因实际上是 Adob​​e 扩展/添加-在.症状是单击文档库中的 PDF 列表项后出现 Adob​​e 错误消息无法打开".罪魁祸首是 Adob​​e 扩展/附加组件:Adobe Acrobat SharePoint OpenDocuments 组件".

After much web searching and many hours with MSFT support, as hard as this may be to believe, it turns out that the root cause of my "SharePoint won't open PDF documents" problem was actually an Adobe extension/add-on. The symptom was an Adobe error msg "failed to open" after clicking the PDF list item in a document library. The culprit, an Adobe extension/add-on: "Adobe Acrobat SharePoint OpenDocuments Component".

我不知道这是如何安装的.我所做的(最终)知道的是,该组件实际上与它的名称所暗示的完全相反,即,当在 SharePoint 2010 文档库中单击时,它显然会阻止打开 PDF 文档.

I do not know how this got installed. What I do (finally) know is that this component actually does the exact opposite of what its name implies, i.e., it apparently prevents PDF documents from opening up when clicked in a SharePoint 2010 document library.

在解决此问题的各种尝试失败后(包括将 Web 应用程序服务器上的浏览器文件处理程序"设置从严格"更改为许可"以及在下面和各种博客和网站上的其他地方建议的其他修复程序),没有任何修复直到我们禁用此 Adob​​e 扩展程序/附加组件,问题才得以解决.然后,问题解决了.

After various failed attempts to solve this problem (including changing "Browser File Handler" settings on the web app server from "Strict" to "Permissive" and other fixes suggested below and elsewhere on various blogs and web sites), nothing fixed the problem until we disabled this Adobe extension/add-on. Then, problem solved.

请注意,在尝试从库中打开 PDF 文档之前,您可能不会在工具 > 管理加载项"列表中看到此组件:显然加载项未激活(不会出现在该列表中)列表),直到进行打开"尝试.所以 - 如果起初您没有看到列出的组件,请尝试打开 PDF 文件并再次检查列表.如果出现此组件,请将其禁用,您的问题可能会消失.

Note that you may not see this component in the "Tools > Manage Add-Ons" list until after attempting to open a PDF document from the library: apparently the add-on isn't activated (won't appear in that list) until an 'open' attempt is made. SO - if at first you don't see the component listed, try to open a PDF file and check the list again. If this component appears, disable it, and your problem is likely to go away.

莫名其妙;或者更糟的是,Adobe 的部分实际上是邪恶的......?

Baffling, at best; or worse, actually nefarious on Adobe's part ...?

我仍然想知道如何让 PDF 在 IE 中的单独浏览器选项卡中打开,而不是替换活动选项卡.如果有人可以帮助解决这个问题,请告诉我!没有自定义编码解决方案,请!

I'd still like to know how to get the PDF to open in a separate browser tab in IE vs. displacing the active tab. If anyone can help with that, please let me know! No custom coding solutions, PLEASE!

这篇关于无法使用 Internet Explorer 在 SharePoint 2010 中打开 PDF 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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