Microsoft KB Archive/826789

From BetaArchive Wiki
Knowledge Base


How to configure SQL full-text search to search for MHT files

Article ID: 826789

Article Last Modified on 11/30/2007



APPLIES TO

  • Microsoft Windows SharePoint Services 2.0



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista


SUMMARY

After you add files that have an .mht file name extension to your Windows SharePoint Services 2.0 Web site, the .mht files may not appear in the search results when you do a search. This article describes how to add an .mht extension mapping to your SQL server so that you can successfully search for .mht files.

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To add an .mht extension mapping, follow these steps:

  1. Log on to the SQL server that Windows SharePoint Services 2.0 uses as its database server.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate, and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ContentIndexCommon\Filters\Extension

  4. Right-click the Extension registry key, point to New, and then click Key.
  5. Type .mht to name the new key.

    Note There is a period (.) in front of "mht".
  6. Click the .mht registry key.
  7. In the right pane, right-click (Default), and then click Modify.
  8. In the Value data box, type the following line, and then click OK:

    {5645C8C2-E277-11CF-8FDA-00AA00A14F93}

    Note This registry value contains zeros, not the letter O.
  9. Quit Registry Editor, and then restart the Microsoft Search service (MSSearch). To restart this service:
    1. Click Start, click Run, type services.msc in the Open box, and then click OK.
    2. In the Name list, click Microsoft Search, and then click the Restart link.

For more information about Windows SharePoint Services 2.0, visit the following Microsoft Web site:

Keywords: kbinfo KB826789