Share via


.Htx File Errors

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.

 

These messages are for Internet Data Query (.idq) processing only and are returned by the CiErrorMessage variable, accessible from HTML extension file (.htx) error pages.

Message Explanation
A <%BeginDetail%> section was found on line <number> in the .htx file <file>, without a matching <%EndDetail%> section. The <%BeginDetail%> tag must be followed by a matching <%EndDetail%> tag.
An <%else%> or <%endif%> was found without a matching <%if...%>. An <%else%> or <%endif%> tag was found without a matching <%if %> tag.
An <%EndDetail%> section was found on line <number> in the .htx file <file> before the <%BeginDetail%> section. The <%BeginDetail%> tag must precede the <%EndDetail%> tag.
An <%EndDetail%> section was found on line <number> in the .htx file <file>, without a matching <%BeginDetail%> section. The <%EndDetail%> tag must be preceded by a matching <%BeginDetail%> tag.
An <%if%> was found without a matching <%else%> or <%endif%>. The <%if...%> tag must be followed by an <%endif%> tag, with an optional <%else%> tag in between.
Constants used in IsTypeEq-operator conditions must be unsigned integers, not floats, globally unique identifiers (GUIDs), and so on. One or more of the constants in the IsTypeEq condition is a float, GUID, and so on, but should be an unsigned integer.
Expecting an operator in <%if%> statement. The operator in an <%if...%> tag was missing. 'If' must be followed by one of EQ, NE, LT, LE, GT, GE, contains, or IsTypeEq HTX operators.
The .htx file <file> contains an ill-formed include statement on line <number>. Usually caused by a <%include...%> tag without the closing %>.
The .htx file <file> uses too many includes on line <number>. A maximum of 32 files can be included by use of the <%include...%> tag.
The .htx file specified could not be found in any virtual or physical path. The .htx file specified in an <%include...%> tag could not be located.
The include file name is invalid in file <file> on line <number>. Usually caused by a <%include...%> tag missing the closing %>.
One of the values in a IsTypeEq condition must be a variable. You used two constants. One of the values in the IsTypeEq condition must be a variable.
An opening bracket "{" was found without a matching closing bracket. A vector in an <%if...%> tag is missing the closing brace.
An opening quotation mark (") was found without a matching closing quotation mark ("). A quoted phrase in an <%if...%> tag is missing the closing quote.