Wednesday, December 15, 2010

Configure Adobe PDF iFilter for SharePoint Server 2010

Steps to install and configure PDF iFilter on SharePoint Server 2010.

For the majority of my Client I will implement (Free) Adobe iFilter (x64), unless there is a need for high number of PDF’s and the client wants to purchase FoxIT.

**See how to do 2007 in my past post.

Apart from updating the registry settings required to update GUID for .pdf, remaining steps are similar to those of 2007.

Install and configure Adobe’s PDF iFilter on SharePoint Server 2010.

  1. Install Adobe PDF iFilter 9.0 (x64 bit) from here.
    1. This only needs done on the SharePoint Servers that will run the Search Service (also install on your failover or backup server).
  2. Download Adobe’s PDF ICON file from pdficon.gif (<-Opens in new window, then right click on icon and save)
    1. Do this on ALL SharePoint Servers
    2. Copy Your new PDF ICON (pdficon.gif) to “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\”
  3. Add the following entry in docIcon.xml file.
    1. Do this on ALL SharePoint Servers
    2. Location: “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\”
      • **Make a backup of the DOCICON.xml file before modifying.
    3. Locate the <ByExtension> section
      • Scroll down through the Mapping Key= “alphabetically” to the “P’s”
      • Be careful here, additional spaces added can mess up other ifilters.
      • Insert the following new key.
      • <Mapping Key="pdf" Value="pdficon.gif"/>
  4. Now let’s add the PDF file type to SharePoint, on the Manage File Type page under your Search Service Application.
    1. Go to Central Admin
    2. Manage Service Applications (Under Application Management)
    3. Select your “Search Service Application”
      image
    4. Next, on the left navigation, Under Crawling, Select File Types
      image
    5. Review MS file types and make sure you still see that they have an Icon associated (if missing then you docIcon.xml is the problem)
    6. Select “New File Type”
      image
    7. On this screen, add the “pdf” extention and select ok
      image
    8. Look down your list, you should now see your file type.
      image
    9. This step is complete.
  5. Now to edit the “Registery”
    1. Do this on the SharePoint Application Server that will be executing your crawls.
    2. Open registry by typing regedit on the Start
    3. Navigate to the following location’s.

      “\\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension”

      “\\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\”

    4. Right-click Extension, a menu will appear.
    5. Click New--> Key to create a new key for .pdf. See screen shot below:
      image
    6. Enter “.pdf” and save key.
      image
    7. Now add the following GUID in the default value as shown in the figure below. 
      image
    8. Right click on Default and select Modify
    9. Add this GUID as your Value data: {E8978DA6-047F-4E3D-9C78-CDBE46041603}
      1. Leave the brackets, will look like this.
        image
    10. Select ok.
    11. This step complete.
  6. Restart the SharePoint Server Search 14 & SharePoint Foundation Search V4 service.
    1. Start, Administrative Tools, Service
    2. Restart “SharePoint Server Search 14 & SharePoint Foundation Search V4”
      •  clip_image002
  7. Perform a “FULL crawl” to include PDF files.
    1. Search Service Application
    2. Content Sources
    3. Select your Local SharePoint source, right click and on the drop down select “Start Full Crawl”.
      • clip_image003
  8. PDF iFilter is successfully configured.

    1. Now you can search for the content of PDF file.
      • clip_image004
    2. Complete
  9. Troubleshooting “SharePoint Unable to crawl content of specific type of files even with correct IFilter installed”. http://support.microsoft.com/kb/2018558

  10. Next, Download and install “Microsoft Office 2010 Filter pack” Just download, and run it on your same servers as you did for the above.

  11. Remember, SharePoint Server 2010 provides out of the box search support for .ZIP files.

1 comments:

Fred said...

Nice post,

great step by step...first I went at the microsoft support page but the information was to vague. Yours is precise and efficient.

thanks