KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q170045: Index Server META Tag Sample Incorrect Shows Close Comment Tag

Article: Q170045
Product(s): Internet Information Server
Version(s): WINNT: 1.1
Operating System(s): 
Keyword(s): 
Last Modified: 30-DEC-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Index Server version 1.1 
-------------------------------------------------------------------------------

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          :  
Technology        : kbIdxServSearch kbAudDeveloper kbIdxServ110
Version           : WINNT: 1.1
Hardware          : ALPHA x86
Issue type        : kbprb

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.