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



The information in this article 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:

<a:resourcetype/>

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

<a:resourcetype><a:collection /></a:resourcetype>

Example 1

----------
REQUEST
----------

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

<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
<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:15:10 GMT

<?xml version="1.0" ?> 
<a:multistatus xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:c="xml:" xmlns:a="DAV:">
<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="int">129</a:getcontentlength> 
<a:creationdate b:dt="dateTime.tz">2003-03-27T15:39:16.428Z</a:creationdate> 
<a:displayname>default.asp</a:displayname> 
<a:getetag>"7e89d5d727fac21:526c0"</a:getetag> 
<a:getlastmodified b:dt="dateTime.rfc1123">Thu, 03 Apr 2003 21:27:35 GMT</a:getlastmodified> 
<a:resourcetype /> 
<a:supportedlock>
<a:lockentry>
<a:write /> 
<a:shared /> 
</a:lockentry>
<a:lockentry>
<a:write /> 
<a:exclusive /> 
</a:lockentry>
</a:supportedlock>
<a:ishidden b:dt="boolean">0</a:ishidden> 
<a:iscollection b:dt="boolean">0</a:iscollection> 
<a:getcontenttype /> 
</a:prop>
</a:propstat>
</a:response>
</a:multistatus>

Example 2

----------
REQUEST
----------

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

<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
<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="1.0" ?> 
<a:multistatus xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:c="xml:" xmlns:a="DAV:">
<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="int">0</a:getcontentlength> 
<a:creationdate b:dt="dateTime.tz">2003-03-27T15:39:16.412Z</a:creationdate> 
<a:displayname>/</a:displayname> 
<a:getetag>"4e3a5f4d364c31:526c0"</a:getetag> 
<a:getlastmodified b:dt="dateTime.rfc1123">Wed, 16 Apr 2003 16:36:16 GMT</a:getlastmodified> 
<a:resourcetype>
<a:collection /> 
</a:resourcetype>
<a:supportedlock /> 
<a:ishidden b:dt="boolean">0</a:ishidden> 
<a:iscollection b:dt="boolean">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: For more information about WebDAV, see Request for Comments (RFC) 2518. To do so, visit the following Internet Engineering Task Force (IETF) Web site:

Modification Type:MajorLast Reviewed:12/18/2003
Keywords:kbprb KB830255 kbAudITPRO