DOCUMENT:Q284112 08-MAY-2002 [iis] TITLE :File Names Not Listed When You Query with Descending Sorted Rank PRODUCT :Internet Information Server PROD/VER::2.0,2000 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Index Server version 2.0 - Indexing Service, included with: - Microsoft Windows 2000 Advanced Server - Microsoft Windows 2000 Professional - Microsoft Windows 2000 Server ------------------------------------------------------------------------------- SYMPTOMS ======== When you query a catalog that contains content from indexing Web sites, as well as content from indexing physical directories, and you use a "SortBy=Rank" and "OrderBy=[D]" (descending) query, the filename property in the result may be missing and the path property only contains the directory and not directory+filename. CAUSE ===== This problem occurs if the vpath element is listed in the columns' property before the path element. For example: Q.Columns = "vpath, path, filename, DocTitle, Write, Size, Rank" RESOLUTION ========== To work around this problem, place the path element in the columns' property before the vpath element. For example: Q.Columns = "path, vpath, filename, DocTitle, Write, Size, Rank" STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. Additional query words: ====================================================================== Keywords : Technology : kbIdxServSearch kbAudDeveloper kbIdxServ100 Version : :2.0,2000 Hardware : ALPHA x86 Issue type : kbbug Solution Type : kbfix ============================================================================= 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 2002.