We all needed @ sometime to preview a pdf document instead of downloading it, let's make a tour of what.
IE8
When we try to open PDF file in IE 8. It won’t open but ask us to save it or Cancel instead of opening the pdf.
Reason : In Internet Explorer 8 Microsoft added a security feature, a mechanism to help prevent the untrusted content from compromising your site’s security. When the new X-Download-Options header is present with the value no open, the user is prevented from opening a file download directly; instead, they must first save the file locally. SharePoint 2010 utilizes this enhanced security feature in IE 8 to block the opening of file types it considers vulnerable to scripting or other attacks, such as PDFs.
Solution #1:
Solution #2:
Here's a free PDF Viewer webpart:
IE8
When we try to open PDF file in IE 8. It won’t open but ask us to save it or Cancel instead of opening the pdf.
Reason : In Internet Explorer 8 Microsoft added a security feature, a mechanism to help prevent the untrusted content from compromising your site’s security. When the new X-Download-Options header is present with the value no open, the user is prevented from opening a file download directly; instead, they must first save the file locally. SharePoint 2010 utilizes this enhanced security feature in IE 8 to block the opening of file types it considers vulnerable to scripting or other attacks, such as PDFs.
Solution #1:
- Go to Central Admin à Application Management à Manage Web Application
- Select the Web Application for which you want to make changes
- In Ribbon, Go to General Settings àGeneral Settings àBrowser File Handling
- By default, the option “Default” will be checked. Change it to “Permissive” à Select OK.
- Do an IISRESET, refresh the page and try to open PDF Document.
- PDF document will be opened.
Solution #2:
- Open Adobe PDF from Start button
- Go to Edit à Preference à Categories à Internet à uncheck Display PDF in Browser option
- Save and close it.
Refresh your page and Now Click PDF. It will ask for open option or will be opened in adobe\IE.
***///***///***
In Other hand,Here's a free PDF Viewer webpart:
- http://pdfviewer.codeplex.com/
- http://mssharepointtips.com/tip.asp?id=1187
- https://www.foxitsoftware.com/shopping/checkout.php?action=view