Article ID: 2646696 - View products that this article applies to.
One may find that "Document Icons" are no longer displayed in search results after modifying the DOCICON.xml file. In this scenario an empty box will appear where the document icon should be displayed. The same document icons are displayed correctly while viewing the document libraries.
This issue can be caused by multiple file extension mappings in the DOCICON.xml file. To confirm this problem one can view the HTML source of the search results page and find the documents with the missing icons containing an empty source path for the “srch-Icon” class.
The following is an example of a duplicate file extension mapping in the DOCICON.xml file found in path “%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\XML”
In this case although the values are different, all document icons will not be displayed in search results because there are two file extension mappings for “PDF” in DOCICON.xml.
To resolve this issue simply remove the duplicate entry for the file extension mapping in DOCICON.xml.
Understanding DocIcon.xml Files
Updating the docicon.xml File with a Feature
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2646696 - Last Review: November 29, 2011 - Revision: 4.0