SolveItproblems

SolveITProblems is a project of QFormat.net intellectual club

SolveITProblems это проект интеллектуального клуба QFormat.net

вторник, 30 марта 2010 г.

Проблема PDF на Sharepoint

Так как страницы с мануалами как я заметил все время меняются то решил скопировать некоторые очень нужные мануалы на свой блог.

Установка PDF иконки

Installation Instructions

Foxit PDF IFilter comes in a 32-bit and x64 Windows versions. Select the version that matches your system requirements.
Sample Installation - Microsoft Office Sharepoint Server
To install Foxit PDF IFilter 2.0 with Microsoft Office Sharepoint Server, please follow these simple steps:
Please note that Microsoft Office SharePoint Server has been installed successfully.
  • Download Foxit PDF IFilter 2.0 from Foxit Corporation Website onto the machine where you wish to install it.
  • Stop the IIS Admin service: Start > Settings > Control Panel > Administrator Tools > Services > IIS Admin Service > Stop. Close window.
  • Run the Foxit PDF IFilter 2.0 Setup program to install the filter on the server.
  • Download PDF icon from http://www.foxitsoftware.com/pdf/ifilter/pdficon.gif .
  • Copy the downloaded .GIF file to "Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images".
  • Edit the file "Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\DOCICON.XML”
    • Right-click DOCICON.XML file > click Open With > select Notepad.
    • Add an entry for the .pdf extension. For example, where ICPDF is the name of the .gif file:
    • On the File menu, click Save, and then quit Notepad.
      Add an entry
  • Perform an iisreset:
    • Click Start > Run > type "cmd" in the Open line > click OK > type "iisreset" at the command prompt > hit Enter.
      Perform an iisreset
    • Close the window.
Microsoft Office Sharepoint Server can now index PDF files.
Note: For the installation instructions with other search engines, please refer to their respective user manuals (http://www.foxitsoftware.com/support/usermanuals/) for details.
Additional Notes
Foxit PDF IFilter does not has a user interface. Since Foxit PDF IFilter acts as a plug-in for various search engines, it is the search engine that is responsible for interpreting the returned text and then presenting the information to the user.
The installation package will unzip a language file called fpdfcjk.bin into the installation folder. This file will help you index PDF documents containing Chinese/Japanese/Korean characters.

Дополнительную инфу как я уже писал лучше всего дает мануал на сайте на данный момент он доступен по следующему адресу http://www.foxitsoftware.com, скачайте оттуда мануал Foxit PDF IFilter 1.0 for MOSS, на данный момент он доступен по следующему адресу http://mirrors.foxitsoftware.com/pub/foxit/manual/enu/FoxitPDFIFilter1.0forMOSS_manual.pdf

И еще, кое чего в этом мануале нет, после установки на WSS 3.0 нужно добавить записи в реестр

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\.pdf
This 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: 0×00000001 (1)
• Name: MimeTypes
Type: REG_SZ
Data: application/pdf
I had to double check my settings when I still couldn’t search PDF’s when I made the changes suggested. Sure enough, my GUID was this: {E8978DA6-047F-4E3D-9C78-CDBE46041603}
I have version 9.0 of Adobe reader installed on the server.
I replaced this GUID {4C904448-74A9-11D0-AF6E-00C04FD8DC02} with this GUID {E8978DA6-047F-4E3D-9C78-CDBE46041603}
Don’t change the GUID under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\\Gather\Search\Extensions\ExtensionList\38
After that change and a reboot, I was searching PDF’s.
Also check that your application is using a search server. This is in addition to checking that your search server is running.


найти надо CLSID для foxit-а

Комментариев нет:

Отправить комментарий