Err Msg: Cannot Open the File: Queryhits.idq

Last reviewed: January 22, 1998
Article ID: Q170048

The information in this article applies to:

  • Microsoft Index Server version 1.1

SYMPTOMS

When you click "Show Highlights (full text)" or "Show Highlights (condensed)," Index Server returns the error message:

   Cannot open the file: \queryhits.idq.

CAUSE

When a web server hosts more than one Web site, Index Server will be able to function across all web sites with a global \scripts subdirectory, except for hit highlighting. The CGI program used for hit highlighting, Webhits.exe, cannot transverse global virtual directories to find the .idq file.

WORKAROUND

To work around this problem:

  1. Create a second Scripts virtual directory, and point it to the same physical directory as the global Scripts directory.

  2. Assign the IP address of the virtual server to the new Scripts virtual directory.

Because the virtual server now has a Scripts virtual directory assigned to it with the virtual server's IP address, Webhits.exe will then be able to find the scripts directory on that virtual server, and return the correct results.
Keywords          : indxvirtual kbusage
Version           : WinNT:1.1
Platform          : winnt
Issue type        : kbprb
Solution Type     : kbworkaround


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


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.

Last reviewed: January 22, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.