SharePoint WebDAV, IIS 7.5 and Windows Server 2008 R2

By jay at December 02, 2009 18:02
Filed Under: Sharepoint

A neat feature of Sharepoint 2007 (or WSS 3.0) is the ability to browse the content of a site as if it were a network drive. This is done under the hood by using WebDAV, a standard protocol that Microsoft used to implement this feature.

If you happen to have to install WSS 3.0 on a Windows 2008 R2 Box, you’ll quickly find out that this feature does not work properly, with interesting messages like “Access Denied” or “The network path could not be found” when trying to map a folder.

Using IIS 6.0, you’d simply need to make sure that the WebDAV Web Service Extension is “Prohibited”.

With IIS 7.5, there are multiple places dealing with WebDAV but only one to look at :

  • Open the “Modules” configuration section for the Sharepoint web site
  • Find the “WebDAVModule” entry
  • Remove it, your’re done !

The interesting bit about this is that even though the WebDAV component is disabled in every possible section of the site, the module seems to intecept the WebDAV PROPFIND verb and returns a 405 (Not Allowed) error.

Since the verb is handled by an ASP.NET httpHandler, it never gets the chance to deal with it... and you can’t see your files in the Windows Explorer.

Comments

12/20/2009 8:56:38 PM #

Some great info... I am planning to use Sharepoint 2010 as soon as it is available.

Joe United States

3/17/2010 12:56:23 PM #

Jay,

Thanks for the tip.  By following these steps I was able to mount a SharePoint site through WebDAV - for the most part.  The issue resolves around Document Connection (the SharePoint / Office Live Workspace connection tool for Office 2008 for the Mac) not keeping me logged in.  I have site collection administrator access to the site I'm trying to connect to, however it tells me I don't have access.  

I'm using NTLM authentication for the site and am using our DOMAIN\USERID to login.  Any thoughts?

Ryan

Ryan Epperson United States

3/30/2010 4:56:49 PM #

Thank you god!!!!

All I was getting when I tried to open in explorer was a login/password prompt which didnt accept any credentials. Your solution fixed it.

pitne United States

4/20/2010 5:19:13 AM #

Amazing post,

solved my problem....

Regards.

Sergio Orru Brazil

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading




About me

My name is Jerome Laban, I am a Software developer and .NET enthustiast from Montréal, QC. You will find my blog on this site, where I'm adding my thoughts on current events, or the things I'm working on, such as the Bluetooth Remote Control Software for Windows Mobile.