Microsoft Index Server provides a wealth of error and informational messages to users and administrators of Index Server. These messages generally result from some error condition, lack of a required system resource, or other events of which users or administrators need to be aware. This appendix provides information on the following topics:
Index Server error conditions typically fall under one of the following four categories:
Error conditions falling outside these four main error categories are typically referred to as other system errors
Index server also provides a limited number of informational messages. These informational messages are indicated, where appropriate, in subsequent sections of this appendix.
Index Server provides the two basic methods for reporting error conditions. Generally, users can expected to only see HTML error pages precipitated by query-syntax error conditions. The extent to which users are subjected to such messages can be controlled through the use of customized HTML forms. Index Server administrators, on the other hand, are privy to the vast number of error and informational messages that are logged and viewable via the Windows NT application event-logging system.
Three categories of errors always result in the generation of an HTML page to the user:
The page returned for each of these error categories of error is specified by registry key entries placed under the following path:
HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Control \contentindex \language \<language>
Figure C.1 illustrates these registry settings for the samples that are installed when Index Server is installed. These show registry key names and associated values for a set of standardized and fully modifiable HTML extension (.htx) files, which are used to format and return HTML error pages to the user.
Figure C.1. HTML error-page registry entries.
The registry keys of interest in Figure C.1 include
The CiErrorMessage variable in these .htx files contains a string that describes the error being reported, while the CiErrorNumber variable contains the error code.
Table C.1 contains a number of error messages generated and returned to the user when a query syntax error is encountered by Index Server. These messages are returned in the CiErrorMessage variable, which is accessible from the .htx error page specified by the ISAPIRestrictionErrorFile registry entry. Each message is accompanied by a brief description of the error condition.
Table C.2 contains a number of error messages generated and returned to the user when an Internet data query (.idq) file syntax error is encountered by Index Server. In these messages, <file> indicates the name of the .idq file in question, while <line> indicates the line number where the error was detected. These messages are returned in the CiErrorMessage variable, which is accessible from the .htx error page specified by the ISAPIIDQErrorFile registry entry. Each message is accompanied by a brief description of the error condition.
Table C.3 contains a number of error messages that are generated and returned to the user when an HTML extension (.htx) file syntax error is encountered by Index Server. In these messages, <file> indicates the name of the .htx file in question, while <line> indicates the line number where the error was detected. These messages are returned in the CiErrorMessage variable, which is accessible from the .htx error page specified by the ISAPIHTXErrorFile registry entry. Each message is accompanied by a brief description of the error condition.
Error Message String | Description of Error Condition |
A <%begindetail%> section was found on line <number> in the .htx file <file>, without a matching <%enddetail%> section. | Indicates a missing tag, (for example, the required matching <%enddetail%> tag for a <%begindetail%> tag was not found in the .htx file). |
An <%else%> or <%endif%> was found without a matching <%endif%> <%if. . .%>. | Indicates a missing tag (for example, an <%else%> or tag was found in the .htx file without the required matching <%if%> tag. |
An<%enddetail%> section was found on line <number> in the .htx file <file> before the <%begindetail%> section. | Indicates an improper ordering of tags, (an <%enddetail%> tag was found in the .htx file before the <%begindetail%> tag, for example). |
An <%enddetail%> section was found on line <number> in the .htx file <file>, without a matching <%begindetail%> section. | Indicates a missing tag, (an <%enddetail%> tag was found in the .htx file without a preceding <%begindetail%> tag, for example). |
An <%if%> was found without a matching <%else%> or <%endif%>. | Indicates a missing tag, (an <%if%> tag was found in the .htx file without a required matching <%else%> or <%endif%> tag. |
An opening bracket "{" was found without a matching closing bracket. | Indicates mismatched braces for a vector in an <%if. . .%> tag, (the closing brace is missing, for example). |
An opening quote (") was found without a matching closing quote. | Indicates a mismatch in a quoted phrase in an <%if. . .%> tag, (the closing quote is missing, for example). |
Constants used in IsTypeEq conditions must be unsigned integers, not floats, GUIDs, and so on. | Indicates a misused data type in the IsTypeEq condition. In other words, one (or more) constants in the condition is not an unsigned integer, float, GUID, and so on (asrequired). |
Expecting an operator in <%if%> statement. | Indicates that one of the operators (EQ, NE, LT, LE, GT, GE, contains, or IsTypeEq) did not follow <%if . . .%> as required. |
One of the values in a IsTypeEq condition must be a variable. You used two constants. | Indicates that one of the values specified in the IsTypeEq condition is a constant, not a variable as required. |
The .htx file <file> contains an ill-formed include statement on line <number>. | Indicates mismatched <% and %> for an <%include. . .%> tag; typically a missing %>. |
The .htx file specified could not be found in any virtual or physical path. | Indicates that an .htx file specified by an <%include. . .%> tag could not be located. |
The .htx file <file> uses too many includes on line <number>. | Indicates that the maximum allowable number of <%include%> statements has been exceeded. Note that up to 32 files may be included using the <%include. . .%> tag. |
The include file name is invalid in file <file> on line <number>. | Indicates that an invalid include file has been specified or may be caused by a <%include. . .%> tag that is missing the closing %>. |
Table C.4 contains messages generated and returned to the user when errors not related to query, HTML extension (.htx) file, or Internet data query file syntax errors are encountered by Index Server. When an error occurs, a message is returned in the CiErrorMessage variable. This variable is accessible from the .htx error page specified by the ISAPIDefaultErrorFile registry entry. Each message is accompanied by a brief description of the error condition.
Error Message String | Description of Error Condition |
The query failed because the Web server is busy processing other requests. | This indicates that the server is currently bogged down with queries; there are already too many queries waiting to be processed, therefore this query was rejected and may be tried by the user at a later time. |
Index Server system errors and other pertinent events are reported in the Windows NT application event log under the Ci Filter Service category. System errors and events that are logged include
Table C.5 contains a complete listing of messages written to the Windows NT application event log.