PDF Icon not showing in SharePoint Doc Library and Search Result

I recently face this issue while configuring SharePoint Search. I have done almost everything right but having issue with PDF icon; was not showing in Doc Library and also in Search Result. Below What I have done and How I fix the issue-

My Environment– Windows Server 2008 R2 64 bit,SharePoint 2007 Enterprise

Steps

Findings and Fix-

Main issue starts at steps 5 and 6 on the above link where it says to verify the PDF image present at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES.

well, PDF image didn’t saved automatically for me on the above location so I download a PDF image from internet and used it but didn’t work. Later I find out the GIF image should be right height and width. So if you need to download from internet Make sure the PDF GIF image is 17×17.

next step is adding an reference to DOCICON.XML at this location (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML)

please make sure you backup a copy of DOCICON.XML .That XML often get corrupted while adding reference.

Add reference within the ByExtension tag at DOCICON.XML with the following properties.

<Mapping Key=”pdf” Value=”pdficon.gif” />

Run iisreset

It should work now and you can see PDF icon at both Doc Library and SharePoint search.

Advertisements
This entry was posted in Technical Issue SP2007 and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s