Topic: IFilter cannot initialize for Office file
Karamasoft Support Forums

Page 1 of 1 (1 items)

Posted by tgaskell on 01-25-2016 10:43 AM
I have a simple test solution consisting of little more than UltimateSearchInclude with a simple config file and am using the built-in admin page to index Microsoft Office files. All the files are found, and the body text of the PPTX and DOCX files is indexed, but metadata such as the documents' internal titles is only indexed in some environments.

Working environment:
- Windows Sever 2008 32-bit; IIS 7; Office 2007 installed

Failing environment:
- Windows 7 Enterprise 64-bit; ASP .NET development server; Office 2010 installed

The error message is, "IFilter cannot initialize for file...", but I cannot determine why the IFilter cannot initialize. For XLSX file the additional error message, "Specified part does not exist in the package.", is logged, and no content is indexed.

What can I do to determine why this is working in some environments and not others and to correct it?

There is also an additional problem, which is that in the "working" environment, the XLSX and PPTX (but not DOCX) files have their Categories tags indexed as the titles rather than their actual Title tags. Metadata is, of course, not indexed at all for Office 97-2003 files.

Contents of UltimateSearch.config:

<add key="ignoreAllNumericWords" value="false" />
<add key="ignoreMixedNumericWords" value="false" />
<add key="indexDirectory" value="~/UltimateSearchInclude/Index" />
<add key="logDirectory" value="~/logs/Search" />
<add key="saveEventLog" value="true" />
<add key="saveSearchLog" value="true" />
<add key="displayExceptionMessage" value="false" />
<add key="useIfilterToParsePdf" value="false" />
<add key="getPdfMetaTags" value="true" />
<add key="useRobotsFile" value="false" />
<add key="useRobotsMeta" value="false" />
<add key="removeQueryString" value="false" />
<add key="urlCaseSensitive" value="false" />
<add key="maxPageCount" value="1000000" />
<add key="maxPageLength" value="1000000" />
<add key="minWordLength" value="3" />
<add key="maxWordLength" value="30" />
<add key="requestTimeout" value="30000" />
<add key="scoreTitle" value="16" />
<add key="scoreKeywords" value="8" />
<add key="scoreDescription" value="4" />
<add key="scoreText" value="2" />
<add key="scoreUrl" value="0" />
<add key="userAgent" value="Karamasoft UltimateSearch Crawler" />
<add key="useDefaultProxy" value="true" />
<add key="proxyAddress" value="" />
<add key="proxyUsername" value="" />
<add key="proxyPassword" value="" />
<add key="proxyDomain" value="" />
<add key="useDefaultCredentials" value="true" />
<add key="networkUsername" value="" />
<add key="networkPassword" value="" />
<add key="networkDomain" value="" />
<add key="ignoreSslCertificateValidation" value="false" />