Microsoft KB Archive/830255

= The Web folders client incorrectly processes DAV:resourcetype properties that are not empty as collections =

Article ID: 830255

Article Last Modified on 9/26/2007

-

APPLIES TO


 * Microsoft SharePoint Portal Server 2001

-





SYMPTOMS
When you use Web folders to access certain content in Microsoft SharePoint Portal Server 2001, you may find that the Web folder client processes DAV:resourcetype properties that are not empty as collections (folders).



CAUSE
This issue occurs in situations where the Microsoft OLE DB provider for Internet Publishing (Msdaipp.dll) incorrectly processes DAV:resourcetype properties that are not empty. It assumes that each resource that has a DAV:resourcetype property that is not empty is a collection (folder).



MORE INFORMATION
On servers that implement the Web Distributed Authoring and Versioning (WebDAV) access control list (ACL) protocol, principal resources are indicated by a DAV:principal child element. However, the Web folder client displays these resources as collections (folders) instead of plain resources.

In the following two WebDAV request examples, the following response is returned for a file:



In the following two WebDAV request examples, the following response is returned for a folder (collection):



Example 1
-- REQUEST --

PROPFIND /default.asp HTTP/1.1 Content-type: text/xml; charset=&quot;utf-8&quot; Depth: 0 translate: f Host: servername Accept: */* Content-Length:97 Connection: Keep-Alive

   

-- RESPONSE --

HTTP/1.1 207 Multi-Status Transfer-Encoding: chunked Content-Type: text/xml Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MS-Author-Via: DAV DASL:  DAV: 1, 2 Date: Tue, 13 May 2003 20:15:10 GMT

  <a:response> <a:href>http://davonly/default.asp</a:href> <a:propstat> <a:status>HTTP/1.1 200 OK</a:status> <a:prop> <a:getcontentlanguage>en-us</a:getcontentlanguage> <a:getcontentlength b:dt=&quot;int&quot;>129</a:getcontentlength> <a:creationdate b:dt=&quot;dateTime.tz&quot;>2003-03-27T15:39:16.428Z</a:creationdate> <a:displayname>default.asp</a:displayname> <a:getetag>&quot;7e89d5d727fac21:526c0&quot;</a:getetag> <a:getlastmodified b:dt=&quot;dateTime.rfc1123&quot;>Thu, 03 Apr 2003 21:27:35 GMT</a:getlastmodified>  <a:supportedlock> <a:lockentry> <a:write /> <a:shared /> </a:lockentry> <a:lockentry> <a:write /> <a:exclusive /> </a:lockentry> </a:supportedlock> <a:ishidden b:dt=&quot;boolean&quot;>0</a:ishidden> <a:iscollection b:dt=&quot;boolean&quot;>0</a:iscollection> <a:getcontenttype /> </a:prop> </a:propstat> </a:response> </a:multistatus>

Example 2
<pre class="fixed_text">-- REQUEST --

PROPFIND / HTTP/1.1 Content-type: text/xml; charset=&quot;utf-8&quot; Depth: 0 translate: f Host: servername Accept: */* Content-Length:97 Connection: Keep-Alive

<?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?> <D:propfind xmlns:D=&quot;DAV:&quot;> <D:allprop/> </D:propfind>

-- RESPONSE --

HTTP/1.1 207 Multi-Status Transfer-Encoding: chunked Content-Type: text/xml Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MS-Author-Via: DAV DASL: <DAV:sql> DAV: 1, 2 Date: Tue, 13 May 2003 20:14:48 GMT

<?xml version=&quot;1.0&quot; ?> <a:multistatus xmlns:b=&quot;urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/&quot; xmlns:c=&quot;xml:&quot; xmlns:a=&quot;DAV:&quot;> <a:response> <a:href>http://davonly/</a:href> <a:propstat> <a:status>HTTP/1.1 200 OK</a:status> <a:prop> <a:getcontentlength b:dt=&quot;int&quot;>0</a:getcontentlength> <a:creationdate b:dt=&quot;dateTime.tz&quot;>2003-03-27T15:39:16.412Z</a:creationdate> <a:displayname>/</a:displayname> <a:getetag>&quot;4e3a5f4d364c31:526c0&quot;</a:getetag> <a:getlastmodified b:dt=&quot;dateTime.rfc1123&quot;>Wed, 16 Apr 2003 16:36:16 GMT</a:getlastmodified>  <a:collection /> </a:resourcetype> <a:supportedlock /> <a:ishidden b:dt=&quot;boolean&quot;>0</a:ishidden> <a:iscollection b:dt=&quot;boolean&quot;>1</a:iscollection> <a:getcontenttype /> </a:prop> </a:propstat> </a:response> </a:multistatus>

For more information about Windows SharePoint Services, visit the following Microsoft Web site:

http://technet.microsoft.com/windowsserver/sharepoint/default.aspx

For more information about WebDAV, see Request for Comments (RFC) 2518. To do so, visit the following Internet Engineering Task Force (IETF) Web site:

http://www.ietf.org/rfc/rfc2518.txt

Keywords: kbprb KB830255

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.