A WebDAV Query Returns an Incorrect Total for Queries with a Range Qualifier (317419)



The information in this article applies to:

  • Microsoft SharePoint Portal Server 2001 SP1

This article was previously published under Q317419

SYMPTOMS

If you specify a range header when you perform a WebDAV query to a SharePoint Portal Server, the SharePoint Portal Server may return different results depending on whether you specify a SHALLOW or DEEP traversal.

The Total Hits should show the number of matched records and the Range should limit the result that is returned in the XML; instead, the Range of values returned seems to work as expected, but the total hits value is incorrect.

The only scenario in which the total hits returns a correct value is a DEEP traversal of the Documents folder.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft SharePoint Portal Server 2001. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

312963 How to Obtain the Latest SharePoint Portal Server 2001 Service Pack

The English version of this fix should have the following file attributes or later:
   Date          Version         File name     Platform
   ----------------------------------------------------
   31-Jan-2002   10.145.4629.8   Pkmdasl.dll   Intel
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was first corrected in Microsoft SharePoint Portal Server 2001 Service Pack 2.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbSharePtPortalSvr2001SP2fix kbbug kbfix KB317419