Microsoft Indexing Service in .NET applications
I need to search html pages by using the indexing services, metatags (that eventually become properties withing the Indexing service catalog) and
column definitions in .asp files and in .idq files. I've done this afew times in XP but I'm struggling with Win 7. On this page:
http://www.codeproject.com/KB/database/Indexing_Service_HOW-TO.aspx
if you search for the title “How to add new properties for an indexed file” you will see that the column definition has to be added to the Indexing Service Registry. The tutorial says: “Add a string entry named
"DefaultColumnFile" to the Registry key
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndexCommon".
"DefaultColumnFile" should contain the full path to your Columns Definition File.”
The problem I have is that although I have done this many times in Win XP, in Windows 7 the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndexCommon does not exist and it doesn’t make any difference if I create it or not.
Any help will be appreciated.
Thanks
September 21st, 2010 6:36am
Hi, after I testing on my machine,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndexCommon will
not exist in Windows 7, but it is exist on Windows XP. As the registry in Windows 7 is not completely match with Windows XP, I suggest you try to use
Windows XP Mode:
Install and use Windows XP Mode in Windows 7
Furthermore, you can try to use Windows Search function
in Windows 7
http://msdn.microsoft.com/en-us/library/aa965362(VS.85).aspx
Hope it helps.
Regards,
Leo
HuangPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2010 2:41am