Configuring MOSS 2007 to search pdf documents – install and configure pdf ifilters

 

    1. Download Adobe PDF IFilters 6.0

 

    1. Start –>Run–> Services.msc and stop the IIS Admin service. The reason we need to do this is, the IFilters configuration needs an update to DOCICON.XML.

 

    1. Run the IFilters installer on the Indexing Server

 

    1. Download the pdf icon image pdficon of size 17X17 from the following location and save it as “icpdf.gif” somewhere to the local hard disk http://www.adobe.com/misc/linking.html

 

    1. Copy the icpdf.gif to the following location

 

    1. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images”

 

    1. Go the C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\

 

    1. Edit the DOCICON.XML by adding the following entry<MAPPING onclick=AtD.suggest(this); pre=”” hiddenSpellError? Key=”pdf” Value=”icpdf.gif”/>

 

    1. Perform an IIS RESET

 

    1. Go to Search Settings under Central Administration and add the pdf as the new file type

 

  1. Perform the crawl again

Now MOSS is supposed to search pdf documents properly. This is what said in so many Articles and Blogs. It did not work for me that easily. After some analysis, I’ve learnt that I need to apply a Microsoft Hot fix to make this work for MOSS 2007. The Microsoft Hot fix mentions the following steps to be performed to make the pdf search work for MOSS 2007

 

    1. Add the following registry entry, and then set the registry entry value to pdf:

 

    1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\<GUID>\Gather\Search\Extensions\ExtensionList\38

 

    1. To do this, follow these steps: a. Click Start, click Run, type regedit, and then click OK.

 

    1. Locate and then click the following registry subkey:

 

    1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\GUID\Gather\Search\Extensions\ExtensionList

 

    1. On the Edit menu, point to New, and then click String Value.

 

    1. Type 38, and then press ENTER.

 

    1. Right-click the registry entry that you created, and then click Modify.

 

    1. In the Value data box, type pdf, and then click OK.

 

  1. Verify that the following two registry subkeys are present and that they contain the appropriate values.

Note these registry subkeys and the values that they contain are created when you installed the Adobe PDF IFilter on the server.

 

    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
      This registry subkey must contain the following registry entry:
      Name: Default
      Type: REG_MULTI_SZ
      Data: {4C904448-74A9-11D0-AF6E-00C04FD8DC02}

 

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\Filters\.pdfThis registry subkey must contain the following registry entries:
    • Name: Default
      Type: REG_SZ
      Data: (value not set)
    • Name: Extension
      Type: REG_SZ
      Data: pdf
    • Name: FileTypeBucket
      Type: REG_DWORD
      Data: 0x00000001 (1)
    • Name: MimeTypes
      Type: REG_SZ
      Data: application/pdf
    1. Upload the PDF documents to the Windows SharePoint Services 3.0 Web site.

 

    1. Stop and then start the Windows SharePoint Services Search service. To do this, follow these steps:a. Click Start, click Run, type cmd, and then click OK.

 

    1. Stop the Windows SharePoint Services Search service. To do this, type net stop spsearch at the command prompt, and then press ENTER.

 

    1. Start the Windows SharePoint Services Search service. To do this, type net start spsearch at the command prompt, and then press ENTER.

 

    1. Type exit to exit the command prompt.

 

Now MOSS is ready to search pdf documents. 🙂

~ Gangadhar Kotu

Advertisements

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

%d bloggers like this: