Jan 6 2010

SharePoint: Enabling WebDAV on a Development Server

I am currently customizing the display of SharePoint search results for my client and wanted a quick way to do iterative development of the XSLT style sheet used to render the results. I decided to upload the style sheet to a Document Library in the Search Center site, configure the Core Results Web Part’s XSL Link to point to the url of the style sheet, and use WebDAV to iteratively edit/save the file, having my changes appear instantly in the Core Results Web Part.

What I didn’t realize is there are some additional steps to take to enable WebDAV for use on my development server (Windows Server 2003 VM). Here they are in case you are trying to do something similar:

  1. Enable WebDAV in IIS (found in the Web Service Extensions section)
  2. Enable and start the WebClient service

Apparently in Windows Server 2003, the WebClient service is disabled by default. In case you are wondering what this service does, here is its description:

Enables Windows-based programs to create, access, and modify Internet-based files. If this service is stopped, these functions will not be available. If this service is disabled, any services that explicitly depend on it will fail to start.

Wahlah, I am now able to access the document library using Windows Explorer with a path like the following:

\\mossdev\sites\SearchCenter\Documents