Microsoft Knowledge Base Email Alertz

(830255) - 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).

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 830255 - Last Review: September 26, 2007 - Revision: 1.3

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

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:
http://technet.microsoft.com/windowsserver/sharepoint/default.aspx (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 (http://www.ietf.org/rfc/rfc2518.txt)

APPLIES TO
  • Microsoft SharePoint Portal Server 2001
Keywords: 
kbprb KB830255
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate