Freigeben über


HTML Error Pages

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

 

The first three classes of error (query syntax referring to .idq files only, .idq syntax, and .htx syntax) always generate an HTML error page. The page returned for each class of error is specified in the Language-Specific Registry Settings. Registry keys are under the following path:

HKEY_LOCAL_MACHINE\SYSTEM
   SYSTEM
      CurrentControlSet
         Control
            ContentIndex
               Language
                  <language>

The keys are:

ISAPIHTXErrorFile, ISAPIIDQErrorFile, and ISAPIRestrictionErrorFile

Configures .htx errors, .idq (and .ida) errors, and query syntax errors.

ISAPIDefaultErrorFile

Reports other errors.

These pages are standard, completely customizable .htx pages. The variable CiErrorMessage contains a localized string describing the specific error, and CiErrorNumber contains the error code.