{"id":224,"date":"2012-05-19T12:15:21","date_gmt":"2012-05-19T16:15:21","guid":{"rendered":"http:\/\/www.dontpapanic.com\/blog\/?p=224"},"modified":"2012-05-19T12:26:57","modified_gmt":"2012-05-19T16:26:58","slug":"fix-for-pdf-ifilter-doesnt-index-contents","status":"publish","type":"post","link":"https:\/\/www.dontpapanic.com\/blog\/?p=224","title":{"rendered":"Fix for &ldquo;PDF iFilter Doesn&rsquo;t Crawl Contents&rdquo;"},"content":{"rendered":"<p><a href=\"http:\/\/www.dontpapanic.com\/blog\/wp-content\/uploads\/2012\/05\/searchPDF.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 10px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"searchPDF\" border=\"0\" alt=\"searchPDF\" align=\"left\" src=\"http:\/\/www.dontpapanic.com\/blog\/wp-content\/uploads\/2012\/05\/searchPDF_thumb.jpg\" width=\"154\" height=\"169\" \/><\/a>I was working at a client this last week where we were having trouble getting SharePoint search to crawl the contents of PDF files.&#160; My client said they followed this Microsoft installation guide (<a href=\"http:\/\/support.microsoft.com\/kb\/2293357\" target=\"_blank\">KB Article #2293357<\/a>)&#160; but the iFilter still wasn\u2019t being used to crawl the contents of PDF files.&#160; When I checked their installation I couldn\u2019t find anything wrong either.&#160; I was even more surprised that when I followed the same steps in my virtual dev environment I got the same results.&#160; PDFs were searchable but only by title or other metadata.&#160; The contents were not being indexed.&#160; At that point I started searching the Internet for a solution and although I found lots of people with the same problem I didn\u2019t find any solutions that would work.&#160; For most people the solution was to make sure they added a registry key they missed or make sure it was installed on the correct server.&#160; But there were some people, like my client and I, who followed the instructions correctly and still couldn\u2019t get it to work.&#160; At this point we opened a support ticket with Microsoft and were immediately provided with a solution that worked.&#160; But since I haven\u2019t been able to find this documented anywhere I thought I would record it in my BLOG.&#160; So if you have tried setting up the 64 bit Adobe PDF iFilter and still can\u2019t get it to work, then read on and try the following.&#160; To be thorough I included all the steps required to install the iFilter, but <font style=\"background-color: #ffff00\">highlighted <\/font>the additional step that we took which made the difference.<\/p>\n<hr \/>\n<h2><u>Installing a PDF iFilter<\/u><\/h2>\n<p><font size=\"1\"><\/font><\/p>\n<ol>\n<li><font size=\"2\">Download and Install the <\/font><a href=\"http:\/\/www.adobe.com\/support\/downloads\/detail.jsp?ftpID=4025\" target=\"_blank\"><font size=\"2\">Adobe PDF iFilter 9 for 64-bit platforms<\/font><\/a><font size=\"2\"> <\/font><\/li>\n<li><font size=\"2\">Download a <\/font><a href=\"http:\/\/www.adobe.com\/misc\/linking.html\" target=\"_blank\"><font size=\"2\">16X16 PDF icon file<\/font><\/a><font size=\"2\"> from the Adobe web site and copy it to C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\IMAGES\\ <\/font><\/li>\n<li><font size=\"2\">Add the following entry in the <em>docIcon.xml <\/em>file, which can be found at: C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\TEMPLATE\\XML         <br \/>&#160;&#160;&#160; <strong>&lt;Mapping Key=&quot;pdf&quot; Value=&quot;pdf16.gif&quot; \/&gt; <\/strong><\/font><\/li>\n<li><font size=\"2\">Add the pdf file type to the Search Service Application\u2019s File types <\/font><\/li>\n<li><font size=\"2\">Open regedit and navigate to the following location:        <br \/>&#160;&#160;&#160; <strong>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office Server\\14.0\\Search\\Setup\\ContentIndexCommon\\Filters\\Extension<\/strong> <\/font><\/li>\n<li><font size=\"2\">Right-click and select New &gt; Key to create a new key called \u2018<strong>.pdf<\/strong>\u2019 <\/font><\/li>\n<li><font size=\"2\">Add the following GUID as the default value for the <em>.pdf<\/em> key&#160; <br \/>&#160;&#160;&#160; <strong>{E8978DA6-047F-4E3D-9C78-CDBE46041603}<\/strong> <\/font><\/li>\n<li><font size=\"2\"><font style=\"background-color: #ffff00\">Open Windows Explorer and navigate to the following location:          <br \/>&#160;&#160;&#160; <strong>C:\\Program Files\\Adobe\\Adobe PDF iFilter 9 for 64-bit platforms\\bin<\/strong><\/font> <\/font><\/li>\n<li><font size=\"2\"><font style=\"background-color: #ffff00\">Add your Search Service Application\u2019s <em>Content Access Account <\/em>to the list of users and groups who have security access to this folder.&#160; Make sure the account has <em>Read, Read &amp; Execute,<\/em> and <em>List Folder Contents<\/em> permissions.<\/font> <\/font><\/li>\n<li><font size=\"2\">Reboot the SharePoint servers in your Farm to restart the Search Service Application <\/font><\/li>\n<\/ol>\n<p>&#160;<\/p>\n<p><em><strong>Note:<\/strong>&#160; The Adobe installation instructions also recommend adding the bin folder location to the server\u2019s environmental path variable.&#160; But this has not been required in any of my installations and is not included in the Microsoft instructions.       <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was working at a client this last week where we were having trouble getting SharePoint search to crawl the contents of PDF files.&#160; My client said they followed this Microsoft installation guide (KB Article #2293357)&#160; but the iFilter still wasn\u2019t being used to crawl the contents of PDF files.&#160; When I checked their installation &hellip; <a href=\"https:\/\/www.dontpapanic.com\/blog\/?p=224\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fix for &ldquo;PDF iFilter Doesn&rsquo;t Crawl Contents&rdquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6,23],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-sharepoint-2010","tag-sharepoint_2010","tag-tips"],"_links":{"self":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=224"}],"version-history":[{"count":3,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":227,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/224\/revisions\/227"}],"wp:attachment":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}