How to Configure SQL Full-Text Search to Search for MHT Files (826789)



The information in this article applies to:

  • Microsoft Windows SharePoint Services

SUMMARY

After you add files that have an .mht file name extension to your Windows SharePoint Services 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: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. To add an .mht extension mapping:
  1. Log on to the SQL server that Windows SharePoint Services 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, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbinfo KB826789 kbAudITPRO