Friday, October 17, 2008

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

Step 1: Download Adobe PDF IFilter 5.0 from the following Adobe Web site:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=1276

Step 2: Stop the IIS Admin service. To do this, follow these steps:

a. Click Start, point to Administrative Tools, and then click Services.
b. Right-click IIS Admin Service, and then click Stop.

Step 3: Run the Adobe PDF IFilter 5.0 Setup program to install the filter on the server.
(For MOSS 2007, install the PDF iFilter on the Index servers)
After installing the iFilter, perform Steps 5, 6, and 7 on all the Web Front End servers in the farm.

Step 4: Register the Adobe PDF IFilter. To do this, follow these steps:

a. Click Start, and then click Run.
b. In the Open box, type cmd, and then click OK.
c. Switch to the folder that contains the Adobe PDF Filter 5.0 files. For example, switch to the following folder:
Drive:\Program Files\Adobe\PDF IFilter 5.0
d. Type regsvr32.exe pdffilt.dll, and then press ENTER.
e. If you receive a message that states that the operation was successful, click OK .
f. Type exit, and then press ENTER to exit the command prompt.

Step 5: Copy the .gif file that you want to use for the icon to the following folder on the server, as appropriate for your situation: Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images

Step 6: Edit the Docicon.xml file to include the .pdf extension. To do this, follow these steps:

a. Start Notepad, and then open the Docicon.xml file. The Docicon.xml file is located in one of the following folders on the server: Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml
b. 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:
c. On the File menu, click Save, and then quit Notepad.

Step 7: Restart the server.

Step 8. Add the .pdf file type to the content index. To do this, follow these steps:

a. Connect to the portal site, and then click Site Settings.
b. On the Site Settings page, click Configure search and indexing under Search Settings and Indexed Content.
c. On the Configure Search and Indexing page, click Include file types under General Content Settings and Indexing Status.
d. On the Specify File Types to Include page, click New File Type.
e. On the Add File Type page, type pdf in the File extension box, and then click OK.

Step 9. Update the context indexes for portal content and for non-portal content. To do this, follow these steps:

a. On the Site Settings page of the portal site, click Configure search and indexing under Search Settings and Indexed Content.
b. On the Configure search and indexing page, click Manage content indexes under Content Indexes.
c. On the Manage Content Indexes page, click the down arrow next to the name of the index that you want to update, and then click Start Full Update.

No comments: