How to open PDF files in browser and set file type association icons in SharePoint 2010?


SharePoint 2010 Won’t Open PDFs

I was searching on the internet for the reason of this issue and fixing it so I found the following it worked with me fine and witout any needing to restart IIS

The reason

  • First Looks like IIS is adding the http header X-Download-Options: noopen which forces the browser to download the file instead of opening it.   This new header is used by IE 8 to protect from script injection attacks.

Scenario:

How to open PDF files in browser and set file type association icons in SharePoint 2010?

Explanation:

Those who have experience with SharePoint 2010 may have noticed that pdf files in SharePoint 2010 do not open in browser by default. SharePoint 2010 throws a prompt to save the pdf file.
This is by behavior in SharePoint 2010 and is very annoying especially when you have a requirement to show a pdf file in a Page Viewer Web Part, etc…

Luckily there is a workaround to fix this issue.

Open Central Admin > Application Management > Manage Web Applications.
Choose a web application and click “General Settings”.

Scroll towards the bottom of the page until you find the section “Browser File Handling”.
Change the option from “Strict” to “Permissive”.

Go back to the document library and click on the pdf file. It should open in the browser. (Perform an IISRESET if required.)

You may also have noticed that the icons for pdf files do not show up by default in SharePoint 2010.go to the following link to solve this problem

https://profadmins.com/2012/03/20/adobe-pdf-ifilter-indexing-with-sharepoint-2010/

for further details go to

http://underthehood.ironworks.com/2010/09/how-to-open-pdf-files-in-browser-and-set-file-type-association-icons-in-sharepoint-2010.html

http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sharepoint_2007.pdf

Enhanced by Zemanta
Advertisements

4 thoughts on “How to open PDF files in browser and set file type association icons in SharePoint 2010?

  1. I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get bought an edginess over that you wish
    be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside
    case you shield this increase.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s