Sending an anonymous HTTP PUT request to a WebDAV directory fails

Article ID: 2021641 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Consider the following scenario.  You have a web site configured to use the WebDAV functionality of Internet Information Services (IIS) 7.0 or 7.5.  You configure the website to use Anonymous authentication, and you configure the WebDAV Authoring Rules to grant Write access to all users.  When you attempt to copy or move a file to the WebDAV directory by sending an HTTP PUT command, the operation fails.  You may see an error message similar to the following, depending on the HTTP client you are using:

 

An error occurred copying some or all of the selected files.

OR

HTTP 401 - Unauthorized

 

Cause

This behavior is by design.  Beginning in IIS 7.0, anonymously writing to a WebDAV publishing directory is not allowed.  Specifically, the PUT, MKCOL, PROPPATCH, COPY, MOVE, DELETE, and WebDAV-based GET requests all require authentication.

 

Resolution

To allow users to write files to a WebDAV publishing directory, you must configure the directory to use an authentication method other than Anonymous authentication.  For more information on configuring authentication types in IIS 7.0 and 7.5, please see the following document:

Configuring Authentication in IIS 7
http://technet.microsoft.com/en-us/library/cc733010(WS.10).aspx

 

More Information

For more information on WebDAV in IIS 7.0 and above, please see the following document:

What's New for WebDAV and IIS 7.0
http://learn.iis.net/page.aspx/360/what39s-new-for-webdav-and-iis-70/

 

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2021641 - Last Review: March 19, 2010 - Revision: 4.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
  • Microsoft Internet Information Services 7.5
Keywords: 
KB2021641

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com