Indexing OneNote 2007 files with MOSSPH

Mar 25, 2009 at 3:13 AM
Hi,

So far I have been successful in using MOSSPH to index our DMS files (pdf, Office2003, Office2007).

But for some weird reason it does not work for OneNote files.
I see the following error message in MOSS Crawl Log:
    http://caa-cirrus-test/caa.dms.viewfile/...-12649-06
    Crawled (The filtering process could not load the item. This is possibly caused by an unrecognized item format or item corruption. )

I have installed OneNote 2007 on our MOSS server and followed all registration steps, but it did not work.
Then I installed MS Filter Pack and again did all registration steps without any success:
http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&displaylang=en

From running ProcessExplorer I can see that the IFilter 'C:\Program Files\Common Files\Microsoft Shared\Filters\ONIFilter.dll' is loaded.
Version number: 12.0.6049.5000

You find my my registry keys in the APPENDIX:


I wonder if the problem might be caused by the fact that OniFilter.dll uses Apartment Threading, some other IFilters have 'Both' instead of 'Apartment' as registry entry.
   "ThreadingModel"="Apartment"

Or is there a 3rd party IFilter for MS OneNote that works with DMSPH?

Cheers,
Michael

APPENDIX

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B8D12492-CE0F-40AD-83EA-099A03D493F1}]
@="Microsoft Office OneNote Indexing Filter"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B8D12492-CE0F-40AD-83EA-099A03D493F1}\InprocServer32]
"ThreadingModel"="Apartment"
@="C:\\PROGRA~1\\COMMON~1\\MICROS~1\\Filters\\ONIFIL~1.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E772CEB3-E203-4828-ADF1-765713D981B8}]
@="Microsoft Office OneNote Persistent Handler"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E772CEB3-E203-4828-ADF1-765713D981B8}\PersistentAddinsRegistered]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E772CEB3-E203-4828-ADF1-765713D981B8}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]
@="{B8D12492-CE0F-40AD-83EA-099A03D493F1}"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.one]
@=hex(7):7b,00,42,00,38,00,44,00,31,00,32,00,34,00,39,00,32,00,2d,00,43,00,45,\
  00,30,00,46,00,2d,00,34,00,30,00,41,00,44,00,2d,00,38,00,33,00,45,00,41,00,\
  2d,00,30,00,39,00,39,00,41,00,30,00,33,00,44,00,34,00,39,00,33,00,46,00,31,\
  00,7d,00,00,00,00,00
"(Default)"="{B8D12492-CE0F-40AD-83EA-099A03D493F1}"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.one]
@=hex(7):7b,00,42,00,38,00,44,00,31,00,32,00,34,00,39,00,32,00,2d,00,43,00,45,\
  00,30,00,46,00,2d,00,34,00,30,00,41,00,44,00,2d,00,38,00,33,00,45,00,41,00,\
  2d,00,30,00,39,00,39,00,41,00,30,00,33,00,44,00,34,00,39,00,33,00,46,00,31,\
  00,7d,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.one]
"Content Type"="application/msonenote"
@="OneNote.Section.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.one\OneNote.Section.1]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.one\OneNote.Section.1\ShellNew]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.one\PersistentHandler]
@="{E772CEB3-E203-4828-ADF1-765713D981B8}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onepkg]
"Content Type"="application/msonenote"
@="OneNote.Package"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onepkg\OneNote.Package]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onepkg\OneNote.Package\ShellNew]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onetoc]
@="OneNote.TableOfContents"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onetoc\OneNote.TableOfContents]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onetoc\OneNote.TableOfContents\ShellNew]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onetoc2]
@="OneNote.TableOfContents.12"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onetoc2\OneNote.TableOfContents.12]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.onetoc2\OneNote.TableOfContents.12\ShellNew]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/msonenote]
"Extension"=".one"
"CLSID"="{E81752ED-2885-4624-AE89-5A28DB58874B}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/msonenote]
"Extension"=".one"
"CLSID"="{E81752ED-2885-4624-AE89-5A28DB58874B}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\Filters\.one]
"Extension"="one"
"FileTypeBucket"=dword:00000001
"MimeTypes"="application/msonenote"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\Filters\.one]
"Extension"="one"
"FileTypeBucket"=dword:00000001
"MimeTypes"="application/msonenote"

 

[HKEY_USERS\S-1-5-21-7878605-1945711087-22901797-13601\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.one]

[HKEY_USERS\S-1-5-21-7878605-1945711087-22901797-13601\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.one\OpenWithProgids]
"OneNote.Section.1"=hex(0):