SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed the Adobe iFilter for PDF to allow my server to index pdf documents. I installed with the packaged intaller and then followed the configuration instructions. I replaced the "12" with "14" when dealing with the registry keys because I'm using SP 2010. After performing this process and starting a full crawl of my site, the search indexing seems to work well and all content, including PDF content, is being successfully indexed.

The problem is that now the icons do not show up beside the search results. When inspecting the html source of the search result page, I can see that there's no src attribute in the image tags for those icons:

<img align="absmiddle" src="" border="0" alt="Item icon" />

Microsoft has an appealing KB article (SharePoint 2010: Document Icons are not displayed in search results), which sounds like exactly what I need, but following its instructions to make sure there's only one entry for each file extension didn't help me. My document already had only one entry for each.

So, why might my icons be getting stripped out?

I will also note that the icons (PDF included) seem to be showing up correctly next to items in a regular document library, but they just are not showing up in search results.

share|improve this question
Check the search results master page perhaps? See what is attempting to be displayed in that src attribute. might be a clue there. – Kolten Mar 7 '12 at 23:43
up vote 3 down vote accepted

Ah. My literal use of the configuration instructions document was the problem. It suggested adding this line to the docicon.xml file:

<Mapping Key="pdf" Value="pdf.gif">

This xml fragment doesn't close the tag, so my resulting xml document wasn't valid. Closing the tag like so

<Mapping Key="pdf" Value="pdf.gif" />

And restarting IIS solved the problem.

share|improve this answer

It appears that in SharePoint Foundation the pdf icon only shows up in the DocLibrary view... in search results, the old unidentified icon still shows.

share|improve this answer
True, but how is that related to this 2010 question about ifilter and search? – Robert Lindgren Jun 7 '13 at 5:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.