Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Icons are not displayed for Adobe PDF documents that are listed in the search results when you search your portal site in SharePoint


View products that this article applies to.

Symptoms

When you search for Adobe Portable Document Format (PDF) documents in SharePoint, the PDF documents are returned in the search results as you expect. However, the icon for each of the PDF documents that are listed in the search results is missing.

Additionally, on the Specify File Types to Include page of the portal site, the icon that is typically displayed next to the .pdf extension is missing.

↑ Back to the top


Cause

This issue may occur if SharePoint is not configured to correctly display the .pdf file extention.

↑ Back to the top


Resolution

  1. Copy the .gif file that you want to use for the icon to the following folder on the server, as appropriate for your version of SharePoint:
    SharePoint Portal Server 2003 - Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\Images
    SharePoint Server 2007- Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Image
    SharePoint Server 2010 - Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Images
  2. Stop IIS at a command prompt by running IISReset /stop
  3. Edit the Docicon.xml file to include the .pdf extension. To do this, follow these steps:
    1. Start Notepad, and then open the Docicon.xml file. The Docicon.xml file is located in one of the following folders on the server:
      SharePoint Portal Server 2003 - Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml
      SharePoint Server 2007- Drive :\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml
      SharePoint Server 2010- Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Xml
    2. Add an entry for the .pdf extension. For example, add a line that is similar to the following to the Docicon.xml file, where NameofIconFile is the name of the .gif file:
      <Mapping Key="pdf" Value="NameofIconFile.gif"/>
    3. On the File menu, click Save, and then quit Notepad.
  4. Start IIS at a command prompt by running IISReset /start

↑ Back to the top


More Information

For more information about how to administer and to configure SharePoint Portal Server 2003, see the Microsoft Office SharePoint Portal Server 2003 Administration Guide. The Microsoft Office SharePoint Portal Server 2003 Administration Guide (Administrator's Help.chm) is located in the Docs folder in the root directory of the SharePoint Portal Server 2003 CD.



For more information about SharePoint Server 2007, visit the following Microsoft Web site: For more information about the Adobe PDF IFilter, visit the following Adobe Web site: The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

↑ Back to the top


Keywords: kb, kbentirenet, kbprb, kbsweptsoltax, kbdisplay

↑ Back to the top

Article Info
Article ID : 832809
Revision : 3
Created on : 4/15/2020
Published on : 4/15/2020
Exists online : False
Views : 266