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.
This issue may occur if SharePoint is not configured to correctly display the .pdf file extention.
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
Stop IIS at a command prompt by running IISReset /stop
Edit the Docicon.xml file to include the .pdf extension. To do this, follow these steps:
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
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"/>
On the File menu, click Save, and then quit Notepad.
Start IIS at a command prompt by running IISReset /start
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:
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.