You are currently offline, waiting for your internet to reconnect

IIS 6.0 returns path information that is incorrect when you use the WebDAV PROPFIND method

SYMPTOMS
You use the WebDAV PROPFIND method to retrieve the properties for a resource that is hosted on Internet Information Services (IIS) 6.0. When you do this, IIS 6.0 returns path information that is incorrect. For example, IIS 6.0 returns path information that may contain an additional forward slash mark (/).
CAUSE
This problem may occur if the following conditions are true:
  • The virtual directory uses the root of a drive as the Web site content directory.
  • The Depth header in the request is set to "Infinity."
WORKAROUND
To work around this problem, create a new folder in the root of the drive. Then, configure the virtual directory to use the new folder as the Web site content directory.
MORE INFORMATION

Steps to reproduce the problem

  1. In IIS Manager, create a new virtual directory that is named the Test virtual directory.
  2. Configure the Test virtual directory to use the following content directory:
    harddisk:\
  3. In the Test virtual directory, create a new folder that is named the Dav folder.
  4. Send the following request to IIS 6.0 by using the WFetch tool (WFetch.exe).
    PROPFIND /test/dav HTTP/1.1\r\nContent-type: text/xml; charset="utf-8"\r\nDepth: infinity\r\nHost: localhost\r\nAccept: */*\r\nContent-Length:90\r\n\r\n<?xml version="1.0" encoding="utf-8" ?>\r\n<propfind xmlns="DAV:">\r\n<propname/>\r\n</propfind>
  5. Notice that IIS 6.0 returns the following path information for the Dav folder:
    http://localhost/test//dav/
    Note If you use the WFetch tool to send a GET request for the path information that IIS 6.0 returns, IIS 6.0 returns a "301 Moved Permanently" response. In this case, IIS 6.0 also returns the correct path.
Properties

Article ID: 954847 - Last Review: 06/27/2008 21:49:50 - Revision: 1.0

Microsoft Internet Information Services 6.0

  • kbtshoot kbprb KB954847
Feedback
r varAutoFirePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" " class="ng-binding" id="language-es-py">Paraguay - Español
Venezuela - Español
/html>microsoft.com/c.gif?DI=4050&did=1&t=">&did=1&t=">; var Route = "76500"; var Ctrl = ""; document.write(" ame('head')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?">