Microsoft KB Archive/170045: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - ">" to ">")
Line 51: Line 51:
== CAUSE ==
== CAUSE ==


The Queryhit.htm sample page (located by default in wwwroot\samples\search\queryhit.htm) has an error in it that prevents the proper cataloguing of META tags. The sample page incorrectly shows the closing tag of an HTML comment as &quot;--!&gt;&quot;. The correct closing comment tag for an HTML document is &quot;--&gt;&quot;.<br />
The Queryhit.htm sample page (located by default in wwwroot\samples\search\queryhit.htm) has an error in it that prevents the proper cataloguing of META tags. The sample page incorrectly shows the closing tag of an HTML comment as &quot;--!>&quot;. The correct closing comment tag for an HTML document is &quot;-->&quot;.<br />
<br />
<br />
Because the Index Server never sees an end to the comment tag, it ignores all of the text following the opening of the comment, including the tags. Consequently, this information is not indexed and will not be returned as a result of a query.
Because the Index Server never sees an end to the comment tag, it ignores all of the text following the opening of the comment, including the tags. Consequently, this information is not indexed and will not be returned as a result of a query.
Line 67: Line 67:
== WORKAROUND ==
== WORKAROUND ==


Use the proper close comment tag ( &quot;--&gt;&quot;).
Use the proper close comment tag ( &quot;-->&quot;).


</div>
</div>

Revision as of 20:10, 20 July 2020

Knowledge Base


Article ID: 170045

Article Last Modified on 12/30/1999



APPLIES TO

  • Microsoft Index Server 1.1 Standard Edition



This article was previously published under Q170045

SYMPTOMS

When you perform property queries based on the META tag in HTML files, and you set up the HTML file according to the sample Queryhit.htm file, the Index Server does not return an documents.

CAUSE

The Queryhit.htm sample page (located by default in wwwroot\samples\search\queryhit.htm) has an error in it that prevents the proper cataloguing of META tags. The sample page incorrectly shows the closing tag of an HTML comment as "--!>". The correct closing comment tag for an HTML document is "-->".

Because the Index Server never sees an end to the comment tag, it ignores all of the text following the opening of the comment, including the tags. Consequently, this information is not indexed and will not be returned as a result of a query.

RESOLUTION

To resolve this problem, upgrade to Index Server 2.0 or Windows 2000 Indexing Service.

WORKAROUND

Use the proper close comment tag ( "-->").

STATUS

This problem has been corrected in Index Server 2.0 and Windows 2000 Indexing Service.

Keywords: kbprb KB170045