Monday, August 24, 2009

Attend the SharePoint Conference 2009 for Free!

ShareSquared, Inc. and Kodak just announced a contest where you can win a free pass to the 2009 SharePoint Conference and four nights stay at Mandalay Bay in Vegas! You can also win some free consulting or a Kodak scanner! Visit http://www.sharepointgiveaway.com/ for more information and to enter to win - good luck!

Wednesday, August 19, 2009

Indexing PDFs in WSS3.0

My setup is simply WSS3.0 on a single server using the built-in embedded SQL edition.

1) Download and install the latest Adobe Reader 8. Since release 8, Reader has come with the necessary iFilter built-in.

2) Edit this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\{GUID}\Gather\Search\Extensions\ExtensionList

Add a new string value with Name=(next sequential number available - usually 37 or 38 I believe) and set the Data=pdf

3) Although the Adobe Reader 8 install should have made the following registry change for you, I always like to double-check it:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\Filters

There should be a Key with Name=.pdf
Within the .pdf key, the following entries should be present:
String Value with Name=Extension and Data=pdf
Binary Value with Name=FileTypeBucket and Data=1 (0x00000001)
String Value with Name=MimeTypes and Data=application/pdf

If the entries are not present, add them.

4) The Adobe Reader 8 install should also have made the following registry change for you, but I still check it too:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension

There should be a Key with Name=.pdf
and within the .pdf Key, there should be the following:
Default with Data={AdobeReaderGUID} (in my case it was = E8978DA6-047F-4E3D-9C78-CDBE46041603)

If the entries are not present, add them.

5) Add the Installation directory of Adobe Reader 8 to the System Path:

System Properties (Windows Key + Pause/Break key) - Advanced Tab.
Click Environment Variables button
Scroll down to Path in System Variables and click Edit
Append "C:\Program Files\Adobe\Reader 8\Reader" (or whatever your install path) to the end of the list.

6) Restart the WSS Search service:
net stop spsearch
net start spsearch

7) You are now ready to upload PDFs and they will be indexed for Searching. FYI, any PDFs already uploaded are NOT indexed. I've read you can update them (or their properties) and the Indexer will index them on the next run - but to be safe I generally DELETE and WAIT for the indexer to run again (so I'm sure it deletes any references to them) - and then I REUPLOAD them and WAIT for the indexer to run again. Then after it runs you're sure everything is indexed and searchable.