<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Robert McMurray's Blog [MSFT] : WebDAV</title><link>http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx</link><description>Tags: WebDAV</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>IIS Videos on Dr. Dobb's Web Site</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2009/12/26/iis-videos-on-dr-dobb-s-web-site.aspx</link><pubDate>Sun, 27 Dec 2009 06:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9941349</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/9941349.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=9941349</wfw:commentRss><description>&lt;P&gt;Like many people I know, I get a lot of email from various industry-related publications; some of the emails are spam, and the others are from computer magazines that I subscribe to. (And there are several of those. ;-] )&lt;/P&gt;
&lt;P&gt;Anyway, I received an email the other day from the folks at Dr. Dobb’s, and it contained a link for a video on IIS Bitrate Throttling. It always piques my interest to see what others have to say about IIS, so I followed the link and discovered that the following page has several IIS-related videos listed:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.ddj.com/ddjtvmsondemand.jhtml" target=_blank mce_href="http://www.ddj.com/ddjtvmsondemand.jhtml"&gt;http://www.ddj.com/ddjtvmsondemand.jhtml&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Within the list of videos I found videos for FTP and WebDAV, so I couldn't resist watching those:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;IIS FTP Publishing Service&lt;BR&gt;&lt;A href="http://ddj.com/ddjtvmsondemand.jhtml?bcpid=10177845001&amp;amp;bclid=9347349001&amp;amp;bctid=40439588001" target=_blank mce_href="http://ddj.com/ddjtvmsondemand.jhtml?bcpid=10177845001&amp;amp;bclid=9347349001&amp;amp;bctid=40439588001"&gt;http://ddj.com/ddjtvmsondemand.jhtml?bcpid=10177845001&amp;amp;bclid=9347349001&amp;amp;bctid=40439588001&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;IIS WebDAV&lt;BR&gt;&lt;A href="http://ddj.com/ddjtvmsondemand.jhtml?bcpid=10177845001&amp;amp;bclid=9347349001&amp;amp;bctid=40444327001" target=_blank mce_href="http://ddj.com/ddjtvmsondemand.jhtml?bcpid=10177845001&amp;amp;bclid=9347349001&amp;amp;bctid=40444327001"&gt;http://ddj.com/ddjtvmsondemand.jhtml?bcpid=10177845001&amp;amp;bclid=9347349001&amp;amp;bctid=40444327001&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;As I was watching those videos, the thought occurred to me that those videos were really familiar - but not in a déjà vu kind of way. As it turns out, those are the same videos that are on the IIS.NET web site:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;IIS FTP Publishing Service&lt;BR&gt;&lt;A href="http://www.iis.net/expand/ftp" target=_blank mce_href="http://www.iis.net/expand/ftp"&gt;http://www.iis.net/expand/ftp&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;IIS WebDAV&lt;BR&gt;&lt;A href="http://www.iis.net/expand/WebDAV" target=_blank mce_href="http://www.iis.net/expand/WebDAV"&gt;http://www.iis.net/expand/WebDAV&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Oh well - I was hoping for something new. But the fact remains that the folks at Dr. Dobb’s have collected a good number of IIS and Windows-related videos and put them all in one place, so it's a nice reference to have around.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9941349" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+Topics/default.aspx">IIS Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/FTP/default.aspx">FTP</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>Using Apple's WebDavFS for Mac OS X with WebDAV on IIS 7</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2009/07/01/using-apple-s-webdavfs-for-mac-os-x-with-webdav-on-iis-7.aspx</link><pubDate>Thu, 02 Jul 2009 05:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9812594</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/9812594.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=9812594</wfw:commentRss><description>&lt;P&gt;Today's blog post needs to have a disclaimer right up front - I freely admit I'm not a Mac OS X expert, so I may not have everything 100% correct in this post. But I've seen a lot of questions on &lt;A href="http://forums.iis.net/" target=_blank&gt;forums.iis.net&lt;/A&gt; that discuss using IIS WebDAV with Mac OS X, so I thought that I'd share a few of the things that I've noticed. Just the same, if I were writing a formal walkthrough I would have said something like, "&lt;I&gt;Microsoft is not responsible for the behavior of Apple's Mac family of products. The information that is provided in this topic is provided to assist Mac OS X users that are connecting to IIS using WebDAV.&lt;/I&gt;" &lt;IMG src="http://messenger.msn.com/MMM2006-04-19_17.00/Resource/emoticons/wink_smile.gif"&gt;&lt;/P&gt;
&lt;P&gt;All that being said, here are the prerequisites for getting your environment together:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your server needs to be running Windows Vista, Windows Server 2008, or Windows 7.&lt;/LI&gt;
&lt;LI&gt;Your server needs to have Internet Information Services 7 and the WebDAV module installed. (&lt;B&gt;Note&lt;/B&gt;: See the &lt;A href="http://go.microsoft.com/fwlink/?LinkId=105146" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105146"&gt;Installing and Configuring WebDAV on IIS 7.0&lt;/A&gt; topic for more information.)&lt;/LI&gt;
&lt;LI&gt;For best results, your Mac client needs to be running OS X version 10.4 or later.&lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;Connecting to a WebDAV server using Mac OS X&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;In Mac OS X, open &lt;B&gt;Finder&lt;/B&gt;.&lt;/LI&gt;
&lt;LI&gt;Choose &lt;B&gt;Go&lt;/B&gt;, then &lt;B&gt;Connect To Server&lt;/B&gt;.&lt;/LI&gt;
&lt;LI&gt;Enter the URL of the WebDAV server in &lt;B&gt;Server Address&lt;/B&gt;. For example: 
&lt;BLOCKQUOTE&gt;&lt;I&gt;http://www.example.com/path/&lt;/I&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;B&gt;Connect&lt;/B&gt;.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;For more information, please see the following help topics that are available on Apple's Web site:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1050.html" target=_blank&gt;Mac OS X 10.4 Help: Connecting to a WebDAV server&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://docs.info.apple.com/article.html?path=Mac/10.5/en/8160.html" target=_blank&gt;Mac OS X 10.5 Help: Connecting to a WebDAV server&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;Troubleshooting WebDAV connections using Mac OS X&lt;/H3&gt;
&lt;P&gt;These are some of the issues that I've seen:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;WebDavFS connections are read-only if WebDAV LOCKs are disabled on the server. Because of this: 
&lt;UL&gt;
&lt;LI&gt;If you are using WebDAV 7.0 on IIS 7 you will not be able write files to the server; this is because WebDAV locks were not available in this release.&lt;/LI&gt;
&lt;LI&gt;If you are using WebDAV 7.5 on IIS 7 you will need to enable locks before you can write files to the server; this is because WebDAV locks are disabled by default. (&lt;B&gt;Note&lt;/B&gt;: See the &lt;A href="http://learn.iis.net/page.aspx/596/how-to-use-webdav-locks/" target=_blank&gt;How to Use WebDAV Locks&lt;/A&gt; topic for more information.)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;WebDavFS connections attempt to create files that may be blocked by IIS: 
&lt;UL&gt;
&lt;LI&gt;"&lt;I&gt;Desktop Services Store&lt;/I&gt;" (.DS_Store) files. (See &lt;A href="http://en.wikipedia.org/wiki/.DS_Store" target=_blank&gt;http://en.wikipedia.org/wiki/.DS_Store&lt;/A&gt; for a description.)&lt;/LI&gt;
&lt;LI&gt;"&lt;I&gt;Resource Fork&lt;/I&gt;" (e.g. "._filename.ext") files. (See &lt;A href="http://en.wikipedia.org/wiki/Resource_fork" target=_blank&gt;http://en.wikipedia.org/wiki/Resource_fork&lt;/A&gt; for a description.)&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Allowing unknown MIME types for WebDAV requests should allow these file types, and that setting is located under &lt;B&gt;Web Settings&lt;/B&gt; action for the &lt;B&gt;WebDAV Authoring Rules&lt;/B&gt; feature of IIS Manager.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://bxtqig.blu.livefilestore.com/y1pPrNDkYWHbqzLrclDaaMqC1dlPhS2et-S5L2CPeoBoX77rY2LXMY8Royxui0oJtJddhYcPIW6nxii6ACKKG_EtA/Allow%20Unknown%20MIME%20Types.jpg"&gt;&lt;/P&gt;
&lt;P&gt;For more information, see the following topics that are available on Apple's Web site:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://support.apple.com/kb/HT1629" target=_blank&gt;Mac OS X 10.4: How to prevent .DS_Store file creation over network connections&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://support.apple.com/kb/TA24245" target=_blank&gt;Mac OS X 10.4: Windows Server 2003 IIS Web Server fails GET call on .DS_Store and ._ files&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;H4&gt;In Closing...&lt;/H4&gt;
&lt;P&gt;I have to reiterate that I'm not a Mac OS X expert, so this list is probably not all-inclusive, but it's helped to resolve some of the issues that I've seen.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9812594" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+Topics/default.aspx">IIS Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>FTP 7.5 and WebDAV 7.5 have been released!</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2009/03/18/ftp-7-5-and-webdav-7-5-have-been-released.aspx</link><pubDate>Wed, 18 Mar 2009 10:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9486224</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/9486224.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=9486224</wfw:commentRss><description>&lt;P&gt;Over the next few days you're going to hear a lot of details about many of the great new IIS extensions that the IIS feature team is releasing for the &lt;A class="" href="http://www.microsoft.com/events/mix/default.mspx" target=_blank mce_href="http://www.microsoft.com/events/mix/default.mspx"&gt;2009 MIX Conference&lt;/A&gt; in Las Vegas later today. I don't want to spoil any surprises by talking about anyone else’s feature areas, but I’m about to board a plane to head out on vacation (to Peru!) and I'm not taking a computer with me (believe it or not!) so I thought that I’d take a moment to highlight just a few of the features that are in the FTP 7.5 and WebDAV 7.5 releases.&lt;/P&gt;
&lt;P&gt;&lt;BIG&gt;&lt;U&gt;&lt;B&gt;FTP 7.5&lt;/B&gt;&lt;/U&gt;&lt;/BIG&gt;&lt;/P&gt;
&lt;P&gt;One of the great new features in FTP 7.5 is &lt;I&gt;extensibility&lt;/I&gt;. We had some extensibility features that were partially implemented in FTP 7.0, and we used those for the ASP.NET and IIS Manager authentication providers, but FTP extensibility was not officially supported in the 7.0 release. With FTP 7.5 extensibility is fully supported, so you can now write providers that implement custom functionality for authentication/authorization, home directory lookups, and logging.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/9486115/original.aspx" target=_blank&gt;&lt;IMG height=480 src="http://blogs.msdn.com/photos/robert_mcmurray/images/9486115/493x480.aspx" width=493&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To help developers get started writing providers for FTP 7.5, I wrote the following walkthroughs that are available on Microsoft's &lt;A href="http://learn.iis.net/" target=_blank&gt;learn.iis.net&lt;/A&gt; web site:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For Managed Code Developers: 
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/598/how-to-use-managed-code-to-create-a-simple-ftp-authentication-provider/" target=_blank&gt;How to Use Managed Code to Create a Simple FTP Authentication Provider&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/600/how-to-use-managed-code-to-create-a-simple-ftp-home-directory-provider/" target=_blank&gt;How to Use Managed Code to Create a Simple FTP Home Directory Provider&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/602/how-to-use-managed-code-to-create-a-simple-ftp-logging-provider/" target=_blank&gt;How to Use Managed Code to Create a Simple FTP Logging Provider&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;For Native Code Developers: 
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/599/how-to-use-native-code-to-create-a-simple-ftp-authentication-provider/" target=_blank&gt;How to Use Native Code to Create a Simple FTP Authentication Provider&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/601/how-to-use-native-code-to-create-a-simple-ftp-home-directory-provider/" target=_blank&gt;How to Use Native Code to Create a Simple FTP Home Directory Provider&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/603/how-to-use-native-code-to-create-a-simple-ftp-logging-provider/" target=_blank&gt;How to Use Native Code to Create a Simple FTP Logging Provider&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Another highlight in FTP 7.5 is the addition of a user interface for the FTP Request Filtering features. We shipped request filtering with FTP 7.0 while the request filtering user interface was still in development, and the 7.5 version seemed like a great time to release it.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/9486127/original.aspx" target=_blank&gt;&lt;IMG src="http://blogs.msdn.com/photos/robert_mcmurray/images/9486127/500x260.aspx"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For those of you that are unfamiliar with FTP request filtering, it allows you to add rules that allow or deny specific file extensions, hidden segments, URL sequences, and even FTP commands.&lt;/P&gt;
&lt;P&gt;For more information about the features in the new FTP service, see the following page on the &lt;A href="http://www.iis.net/" target=_blank&gt;http://www.iis.net/&lt;/A&gt; web site:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://www.iis.net/extensions/FTP" target=_blank&gt;http://www.iis.net/extensions/FTP&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BIG&gt;&lt;U&gt;&lt;B&gt;WebDAV 7.5&lt;/B&gt;&lt;/U&gt;&lt;/BIG&gt;&lt;/P&gt;
&lt;P&gt;One of the big changes in WebDAV 7.5 is the inclusion of WebDAV locks, which are implemented through a simple locking mechanism. Our lock implementation was still in development when we shipped the WebDAV 7.0 release, and this release should help publishing scenarios where WebDAV locks are required.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/9486130/original.aspx" target=_blank&gt;&lt;IMG height=260 src="http://blogs.msdn.com/photos/robert_mcmurray/images/9486130/500x260.aspx" width=500&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To help you get started using locks with WebDAV 7.5, I wrote the following walkthrough that is available on Microsoft's &lt;A href="http://learn.iis.net/"&gt;learn.iis.net&lt;/A&gt; web site:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://learn.iis.net/page.aspx/596/how-to-use-webdav-locks/" target=_blank&gt;How to Use WebDAV Locks&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For more information about the features in the new WebDAV module, see the following page on the &lt;A href="http://www.iis.net/" target=_blank&gt;http://www.iis.net/&lt;/A&gt; web site:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://www.iis.net/extensions/WebDAV" target=_blank&gt;http://www.iis.net/extensions/WebDAV&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BIG&gt;&lt;U&gt;&lt;B&gt;In Closing...&lt;/B&gt;&lt;/U&gt;&lt;/BIG&gt;&lt;/P&gt;
&lt;P&gt;So that about wraps it up for some of the major highlights for FTP and WebDAV; for news about everything else that's coming out for IIS, watch the news items on the &lt;A href="http://www.iis.net/" target=_blank&gt;http://www.iis.net/&lt;/A&gt; home page!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9486224" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/FTP/default.aspx">FTP</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>Life after FPSE (Part 4)</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2008/06/30/life-after-fpse-part-4.aspx</link><pubDate>Tue, 01 Jul 2008 05:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8674445</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/8674445.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=8674445</wfw:commentRss><description>&lt;p&gt;In continuation from my previous blog posts on on the subject of migrating from FPSE to WebDAV, today's blog post will address a combination of issues that I've run into and some implementation ideas. &lt;/p&gt;  &lt;h3&gt;Listing content in virtual directories&lt;/h3&gt;  &lt;p&gt;One different that I ran into rather quickly after I migrated a couple of web sites from FPSE to WebDAV was that suddenly my virtual directories were visible in my web authoring tool, which is Microsoft Expression Web. By default, virtual directories didn't show up when using FPSE - you had to explicitly &amp;quot;install&amp;quot; FPSE on individual virtual directories in order to use them from FrontPage or Visual Studio over the FPSE protocol.&lt;/p&gt;  &lt;p&gt;For one web site this was somewhat alarming, because I had a web site with only 200 web pages and a virtual directory with thousands of files in it, and I routinely create VBA macros to automate large-scale authoring actions. This meant that any use of the ActiveWeb.AllFiles collection would take a &lt;em&gt;large &lt;/em&gt;amount of time to process.&lt;/p&gt;  &lt;p&gt;There isn't any easy way to hide virtual directories from WebDAV, because they're not necessarily hidden from any HTTP requests. If your web sites use virtual directories, WebDAV simply makes them available. You can't use IIS 7 Request Filtering's &amp;quot;hidden segments&amp;quot; or &amp;quot;deny sequences&amp;quot; to hide these paths, although you can use those to prevent access.&lt;/p&gt;  &lt;p&gt;The only way that you can more or less &amp;quot;hide&amp;quot; your virtual directories would be to set the authoring rules to allow access to no one. Here's how this might work: you create a web site where you enable WebDAV at the root and add an authoring rule for yourself. Once that is completed, you would click on your virtual directory in the tree view and bring up the WebDAV authoring rules for that path. You would first remove the authoring rule for yourself, then add a new rule that denies all users any access to the virtual directory path.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8674365/original.aspx" target="_blank" mce_href="http://blogs.msdn.com/photos/robert_mcmurray/images/8674365/original.aspx"&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8674365/500x250.aspx" border="2" mce_src="http://blogs.msdn.com/photos/robert_mcmurray/images/8674365/500x250.aspx" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;What the above steps actually do is to instruct the WebDAV module to deny everyone access, so all PROPFIND requests for that path will result in an HTTP 403 response, therefore most WebDAV clients will not display the path. In my particular case I implemented these steps and my web site authoring is back to the way that I expected things to be.&lt;/p&gt;  &lt;h3&gt;Setting up two sites&lt;/h3&gt;  &lt;p&gt;Another idea that I've implemented on a few web sites lately is to use two web sites that point to the same content:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The first web site (e.g. www.example.com) is used for normal HTTP web browsing &lt;/li&gt;    &lt;li&gt;The second web site (e.g. authoring.example.com) is used for for WebDAV authoring &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This configuration yields a number of great benefits, but it's not always possible. For example - if someone else is hosting your web content, they might not want to give you a second web site, or they might charge you for two web sites.&lt;/p&gt;  &lt;p&gt;Just the same, here's my short list of some reasons why using a second web site for your WebDAV authoring might be a good idea to look into:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Each web site can have separate security settings (anonymous versus authenticated). &lt;/li&gt;    &lt;li&gt;Log file data will be kept separate for browsing versus authoring activity. &lt;/li&gt;    &lt;li&gt;Each web site can have a separate apppool, and the authoring apppool can be configured to ignore delegated configuration; this configuration helps alleviate problems from uploading invalid Web.config files that might otherwise prevent HTTP access to your web site.&lt;/li&gt;    &lt;li&gt;Each web site can have separate request filtering rules - this alleviates having to configure the &amp;quot;applyToWebDAV&amp;quot; attribute on your request filtering settings. &lt;/li&gt;    &lt;li&gt;You can have separate SSL requirements for each site - your &amp;quot;www&amp;quot; site can be HTTP-only and your authoring site can be HTTPS-only. &lt;/li&gt;    &lt;li&gt;Virtual directories on the &amp;quot;www&amp;quot; site would not automatically be added to the authoring site, so you can &amp;quot;hide&amp;quot; content from your authoring activities. For example, if you have a set of library scripts that your web site uses that you want to prevent authors from trying to update, you can deploy them through a virtual directory on the &amp;quot;www&amp;quot; site and it will remain hidden from the authoring web site until it's explicitly added. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;That's just a few of the benefits that I've been seeing from deploying WebDAV in a two-site configuration - I'm sure that there are a great deal more reasons why this might be a great idea if you can afford to deploy a site this way.&lt;/p&gt;  &lt;p&gt;That's all for today - I hope this gives you some more ideas to think about.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8674445" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/FrontPage+Topics/default.aspx">FrontPage Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>Life after FPSE (Part 3)</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2008/05/01/life-after-fpse-part-3.aspx</link><pubDate>Fri, 02 May 2008 03:09:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8447932</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/8447932.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=8447932</wfw:commentRss><description>&lt;p&gt;In continuation from my blog posts on &lt;a href="http://blogs.msdn.com/robert_mcmurray/archive/2008/04/17/life-after-fpse-part-1.aspx" target="_blank"&gt;April 17th&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/robert_mcmurray/archive/2008/04/23/life-after-fpse-part-2.aspx" target="_blank"&gt;April 23rd&lt;/a&gt;, today's blog post will continue to examine moving from the FrontPage Server Extensions (FPSE) to WebDAV, and today I'm going to address a combination of issues that I've run into and questions that I've received from customers.&lt;/p&gt;  &lt;h3&gt;WebDAV Authoring Rules versus FPSE Roles&lt;/h3&gt;  &lt;p&gt;FPSE had a variety of built-in roles defined that have no replacement in a WebDAV world, but in all actuality most of those roles have no meaning in a WebDAV world. FPSE Roles were built around a set of User Rights, with several predefined roles like Administrator, Author, Contributor, and Browser. Each of these predefined roles contained various User Rights, and you could create your own roles from scratch by grouping together sets of User Rights. The following screen shot shows the full list of User Rights that were available:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8447647/original.aspx" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8447647/440x375.aspx" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Right up front you should be able to see a reason why there is no WebDAV replacement for many of these - they are mostly specific to FPSE-related behavior, such as adding themes or borders to a web, etc. Roles were generally written to file system ACLS through the use of specialized groups named &amp;quot;OWS_nnnnn_xxxxx&amp;quot; for whichever role was in use:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8447667/original.aspx" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8447667/346x375.aspx" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;That being said, FPSE did a great number of things that annoyed many web administrators - namely:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;If you manually changed your permissions to a set of customized permissions, FPSE would eventually rewrite your permissions the way that it thought they should be. &lt;/li&gt;    &lt;li&gt;If you decided that having NETWORK and INTERACTIVE in the ACLs for every web site on your server was a bad thing, FPSE didn't seem to care and kept adding those permissions to every FPSE-enabled web site. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;There are many other things that FPSE did that made people upset, but mainly I heard a great deal of complaints about those two behaviors.&lt;/p&gt;  &lt;p&gt;Here's the great thing about moving to WebDAV - whatever permissions you set on your files will stay on your files. WebDAV does not come along later and reset anything, so now you're really in charge of your own ACLs. What's more, you can combine your WebDAV authoring rules with your file system ACLs to give you the flexibility and power that you have when combining file shares and file permissions. The following screen shot shows a small handful of WebDAV authoring permissions configured for two groups of users:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8447699/original.aspx" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8447699/500x333.aspx" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Since I manage several servers, I like having more control over what's really going on with my permissions. (When it comes to servers, I'm something of a control freak. &amp;lt;grin&amp;gt;) If you're familiar with AppCmd, you can script the creation of WebDAV authoring rules, making it easy to write scripts that create sites and automatically deploy a set of authoring rules for each site. More information on using AppCmd to script authoring rules is available in the &amp;quot;Working with WebDAV Authoring Rules&amp;quot; section of the following walkthrough:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;How to manage WebDAV using APPCMD&lt;/strong&gt;       &lt;br /&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=108319"&gt;http://go.microsoft.com/fwlink/?LinkId=108319&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h3&gt;WebDAV Redirector Weirdness&lt;/h3&gt;  &lt;p&gt;I mentioned in &lt;a href="http://blogs.msdn.com/robert_mcmurray/archive/2008/04/23/life-after-fpse-part-2.aspx" target="_blank"&gt;my last blog&lt;/a&gt; that I wrote the following walkthrough that discusses using the WebDAV redirector in depth:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Using the WebDAV Redirector        &lt;br /&gt;&lt;/strong&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=112138"&gt;http://go.microsoft.com/fwlink/?LinkId=112138&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Once again, that walkthrough discusses how to install the redirector, how to map drives to WebDAV sites, and how to troubleshoot some of the problems that you might see when using the WebDAV Redirector. That being said, I have noticed a couple of other things when working with the WebDAV Redirector that I thought needed mentioning.&lt;/p&gt;  &lt;h4&gt;Weirdness #1: xcopy.exe fails on repeated copy operations&lt;/h4&gt;  &lt;p&gt;I discovered one day when using xcopy.exe to backup a site from one server to another that xcopy fails when doing repeated copy operations on WebDAV-mapped drives. Here's an example of that that looks like:&lt;/p&gt;  &lt;blockquote&gt;   &lt;table border="1"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td&gt;           &lt;pre&gt;&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;net use * http://www.fabrikam.com&lt;/span&gt;&lt;/i&gt;
Enter the user name for 'www.fabrikam.com': msbob
Enter the password for www.fabrikam.com: ******
Drive Z: is now connected to http://www.fabrikam.com.

The command completed successfully.

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;net use * http://www.contoso.com&lt;/span&gt;&lt;/i&gt;
Enter the user name for 'www.contoso.com': msbob
Enter the password for www.contoso.com: ******
Drive Y: is now connected to http://www.contoso.com.

The command completed successfully.

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;xcopy y:\*.* z:\ /e /r /y&lt;/span&gt;&lt;/i&gt;
Y:\default.htm
Y:\www.contoso.com.txt
Y:\subdir1\default.htm
Y:\subdir2\default.htm
4 File(s) copied

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;xcopy y:\*.* z:\ /e /r /y&lt;/span&gt;&lt;/i&gt;
Y:\default.htm
Y:\www.contoso.com.txt
File creation error - The directory is not empty.

Unable to create directory - Z:\subdir1
2 File(s) copied

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;

&lt;p&gt;Looking at the above example, you can see that the WebDAV Redirector successfully maps drives to both web sites, and the first xcopy.exe operation succeeds by copying all four files from the source web site to the destination web site. However, the second xcopy.exe operation fails when trying to copy files into a subdirectory in the destination web site.&lt;/p&gt;

&lt;p&gt;Unfortunately, there's nothing that can be done about this failure right now. I talked about this with the team that makes the WebDAV Redirector and they said that they can't fix this at the moment. That said, they did suggest a workaround of using the robocopy.exe utility instead. Since I was simply trying to backup a site, I was able to successfully use the following syntax to backup the site after xcopy.exe failed:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;table border="1"&gt;&lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;
          &lt;pre&gt;&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;robocopy y:\ z:\ /mir&lt;/span&gt;&lt;/i&gt;

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows

-------------------------------------------------------------------------------

  Started : Thu May 01 15:21:35 2008

   Source = y:\
     Dest = z:\

    Files : *.*

  Options : *.* /S /E /COPY:DAT /PURGE /MIR /R:1000000 /W:30

------------------------------------------------------------------------------

                           2    y:\
100%        Older                     41        default.htm
100%        Older                      0        www.contoso.com.txt
                           1    y:\subdir1\
100%        Older                     41        default.htm
                           1    y:\subdir2\
100%        Older                     41        default.htm

------------------------------------------------------------------------------

                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :         3         0         3         0         0         0
    Files :         4         4         0         0         0         0
    Bytes :       123       123         0         0         0         0
    Times :   0:00:00   0:00:00                       0:00:00   0:00:00

    Speed :                 207 Bytes/sec.
    Speed :               0.011 MegaBytes/min.

    Ended : Thu May 01 15:21:36 2008

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's still not an ideal situation in my book - I'd rather just use xcopy.exe, but at the moment it's a workaround that I can live with. &lt;/p&gt;

&lt;h4&gt;Weirdness #2: WebDAV Redirector Timeouts&lt;/h4&gt;

&lt;p&gt;I mentioned in the walkthrough listed above that you can see the &amp;quot;&lt;strong&gt;System error 67 has occurred&lt;/strong&gt;&amp;quot; when any one of several possible conditions might exist. One of the things that had me confused when I first ran into these errors was that I would fix the root cause of the problem and yet I would still get the same error when I attempted to map a drive. Unfortunately, this problem used to turn up during the early days of our development cycle when I was presenting the alpha versions of our new WebDAV module, so I used to think it was something that we were doing wrong. ;-)&lt;/p&gt;

&lt;p&gt;As it turns out, the WebDAV Redirector keeps a cache of failed server attempts, and if you're fast enough at fixing the problem, the WebDAV Redirector will still prevent you from being to connect until the timeout is reached or you restart the service. You can alter the timeout duration by changing the value of the &amp;quot;ServerNotFoundCacheLifeTimeInSec&amp;quot; registry setting that is detailed in the &amp;quot;WebDAV Redirector Registry Settings&amp;quot; section of the above walkthrough, or you can quickly restart the service like I did in the following example:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;table border="1"&gt;&lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;
          &lt;pre&gt;&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;net use * http://www.example.com/&lt;/span&gt;&lt;/i&gt;
System error 67 has occurred.

The network name cannot be found.

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;net stop webclient &amp;amp; net start webclient&lt;/span&gt;&lt;/i&gt;
The WebClient service is stopping.
The WebClient service was stopped successfully.

The WebClient service is starting.
The WebClient service was started successfully.

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt;net use * http://www.example.com/&lt;/span&gt;&lt;/i&gt;
Enter the user name for 'www.example.com': msbob
Enter the password for www.example.com: ******
Drive Z: is now connected to http://www.example.com/.

The command completed successfully.

&lt;b&gt;&lt;span style="color: rgb(0,0,160)"&gt;C:\&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="color: rgb(164,0,0)"&gt; &lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;

&lt;p&gt;For a while I got in the habit of restarting the service after fixing the cause of the error, but once I adjusted the timeout to a lower value I almost forgot about it until I borrowed someone else's machine to do a WebDAV presentation. &amp;lt;grin&amp;gt; &lt;/p&gt;

&lt;h3&gt;No more FrontPage &amp;quot;Bots&amp;quot; or &amp;quot;Web Components&amp;quot;&lt;/h3&gt;

&lt;p&gt;Okay, I have to admit - I'm not sad to see the FrontPage &amp;quot;Bots&amp;quot; go the way of the dinosaur, but I realize that there are several people that would disagree with my sentiments. If you'll recall from my &lt;a href="http://blogs.msdn.com/robert_mcmurray/archive/2008/04/17/life-after-fpse-part-1.aspx" target="_blank"&gt;first blog post&lt;/a&gt; in this series, FPSE and I go back a long way. When FrontPage and FPSE were first released, the marketing slogan surrounding FrontPage was &amp;quot;&lt;em&gt;Professional Web Site Publishing without Programming&lt;/em&gt;&amp;quot;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8404333/original.aspx" target="_blank"&gt;&lt;img height="140" src="http://blogs.msdn.com/photos/robert_mcmurray/images/8404333/secondarythumb.aspx" width="115" /&gt;&lt;/a&gt; &lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8404339/original.aspx" target="_blank"&gt;&lt;img height="140" src="http://blogs.msdn.com/photos/robert_mcmurray/images/8404339/secondarythumb.aspx" width="115" /&gt;&lt;/a&gt; &lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8405293/original.aspx" target="_blank"&gt;&lt;img height="140" src="http://blogs.msdn.com/photos/robert_mcmurray/images/8405293/secondarythumb.aspx" width="115" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;What are FrontPage &amp;quot;Bots&amp;quot;?&lt;/h4&gt;

&lt;p&gt;The way that FrontPage and FPSE delivered on that promise was through the use of FrontPage &amp;quot;Bots&amp;quot;, which were later renamed as &amp;quot;Web Components&amp;quot;. These can be subdivided into two main categories:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Author-time Bots/Components: These were features that were used to automate authoring features and did not require FPSE. These features included functionality such as substitution fields, included pages, automatic table of contents generation, navigation bars, etc. &lt;/li&gt;

  &lt;li&gt;Run-time Bots/Components: These were features that were designed to run interactively on a server through the use of FPSE. These features included functionality such as form processing, hit counters, threaded discussion groups, etc. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The great thing about bots was - they enabled the average user to create dynamic web sites without any programming skills or knowledge of technologies like CGI, ISAPI, ASP, PHP, etc.&lt;/p&gt;

&lt;p&gt;But bots were both a blessing and a curse. Over the past twelve years I have seen an enormous number of FPSE bot failures, which has usually resulted in the ubiquitous phrase, &amp;quot;My FPSE site is broken.&amp;quot; If you're curious about how prevalent this situation is, do a quick search on the phrase &amp;quot;FrontPage Save Results Component&amp;quot; - you should see tens of thousands of web pages, each of which having a web form that should be using FPSE but can't because it's &amp;quot;broken&amp;quot;.&lt;/p&gt;

&lt;h4&gt;The End of the Road for FrontPage &amp;quot;Bots&amp;quot;&lt;/h4&gt;

&lt;p&gt;Microsoft&amp;#8217;s currently line of web authoring tools, including Microsoft Visual Studio and Microsoft Expression Web Designer, do not support Author-time Bots/Components, although these tools may provide alternate web authoring functionality that replaces some of these features. When mainstream support for FrontPage 2003 ends in 2009, existing FrontPage-based Author-time Bots/Components will cease to be supported. &lt;/p&gt;

&lt;p&gt;When mainstream support for the FrontPage Server Extensions ends in 2010, support for the FrontPage-based Run-time Bots/Components will likewise end. Much of the functionality provided by the Run-time Bots/Components can be provided through web applications using technologies such as ASP.NET, Classic ASP, PHP, etc.&lt;/p&gt;

&lt;p&gt;For information about what kinds of &amp;quot;bot-like&amp;quot; features will be available in the upcoming Microsoft web authoring tools, check out the following team blogs:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href="http://blogs.msdn.com/xweb/default.aspx" target="_blank"&gt;Expression Web Team Blog&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://blogs.msdn.com/webdevtools/" target="_blank"&gt;Visual Web Developer Team Blog&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Summary&lt;/h3&gt;

&lt;p&gt;It's time to bring today's blog entry to a close, but I hope that I've provided some information that will help anyone that's migrating from FPSE to WebDAV.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8447932" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/FrontPage+Topics/default.aspx">FrontPage Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>Life after FPSE (Part 2)</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2008/04/23/life-after-fpse-part-2.aspx</link><pubDate>Thu, 24 Apr 2008 00:56:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8420017</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/8420017.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=8420017</wfw:commentRss><description>&lt;p&gt;Following up on &lt;a href="http://blogs.msdn.com/robert_mcmurray/archive/2008/04/17/life-after-fpse-part-1.aspx" target="_blank"&gt;my last blog post&lt;/a&gt;, today's blog post will discuss some of the highlights and pitfalls that I have seen while transitioning from using the FrontPage Server Extensions to publish web sites to WebDAV. It should be noted, of course, that FTP still works everywhere - e.g. Expression Web, FrontPage, Visual Studio, etc. As the Program Manager for both WebDAV and FTP in IIS I can honestly say that I love both technologies, but I'm understandably biased. &amp;lt;grin&amp;gt; That said, I'm quite partial to publishing over HTTP whenever possible, and Windows makes it easy to do because Windows ships with a built-in WebDAV redirector that enables you to map a drive to a web site that is using WebDAV.&lt;/p&gt;  &lt;p&gt;To set the mood for today's blog, let's have a little fun at FPSE's expense...&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8420350/original.aspx" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8420350/secondarythumb.aspx" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;h3&gt;A Few Notes about Migrating FPSE Web Sites to WebDAV and Backwards Compatibility&lt;/h3&gt;  &lt;p&gt;To start things off, I wrote a detailed walkthrough with instructions regarding how to migrate a site that is using FPSE to WebDAV that is located at the following URL:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;b&gt;Migrating FPSE Sites to WebDAV&lt;/b&gt;       &lt;br /&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=108347" target="_blank"&gt;http://go.microsoft.com/fwlink/?LinkId=108347&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I wrote that walkthrough from the point-of-view that you might want to preserve the FPSE-related metadata in order to open your web site using a tool like Visual Studio or FrontPage. Neither of these tools have native WebDAV support, so you have to map a drive to a WebDAV-enabled web site in order to use those tools, and the instructions in that walkthrough will lead you through the steps to make the FrontPage-related metadata available to those applications over WebDAV.&lt;/p&gt;  &lt;p&gt;The part of that walkthrough that makes backwards compatibility work is where I discuss adding settings for the IIS 7 Request Filtering feature so that FPSE-related metadata files are blocked from normal HTTP requests, but still available to WebDAV. (These metadata settings are all kept in the folders with names like _vti_cnf, _vti_pvt, etc.)&lt;/p&gt;  &lt;p&gt;It should be noted, however, that if you are not interested in backwards compatibility, the steps are much simpler. In Step 1 of the walkthrough, you would choose &amp;quot;Full Uninstall&amp;quot; as the removal option, and all of your _vti_nnn folders will be deleted. If you've already removed FPSE from a web site and you chose the &amp;quot;Uninstall&amp;quot; option, you can remove the _vti_nnn folders from your site by saving the following batch file as &amp;quot;_vti_rmv.cmd&amp;quot; in the root folder of you web site and then running it:&lt;/p&gt;  &lt;blockquote&gt;   &lt;table border="1"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td style="color: #000000; background-color: #cccccc"&gt;           &lt;pre&gt;dir /ad /b /s _vti_???&amp;gt;_vti_rmv.txt
for /f &amp;quot;delims=;&amp;quot; %%i in (_vti_rmv.txt) do rd /q /s &amp;quot;%%i&amp;quot;
del _vti_rmv.txt&lt;/pre&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's worth noting, of course, that this batch file can be pretty disastrous if run in the wrong web site, as FPSE will no longer be able to access any of the metadata that defined your web site. Any content stored in folders like _private, fpdb, _overlay, etc., will all be preserved.&lt;/p&gt;

&lt;h3&gt;Getting to Know the WebDAV Redirector&lt;/h3&gt;

&lt;p&gt;Windows Vista and Windows Server 2008 both ship a first-class director, making it easy to use WebDAV sites across the Internet as though they were local shares. Using the WebDAV director is as intuitive as mapping a drive to any UNC share, you just specify the drive letter and the destination URL:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;img height="370" src="http://blogs.msdn.com/photos/robert_mcmurray/images/7143660/500x370.aspx" width="500" /&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you prefer, you can also use the command-line to map a drive to a WebDAV site:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;table border="1"&gt;&lt;tbody&gt;
      &lt;tr&gt;
        &lt;td style="color: #ffffff; background-color: #000000"&gt;
          &lt;pre&gt;C:\&amp;gt;net use * http://www.example.com/
Enter the user name for 'www.example.com': msbob
Enter the password for www.example.com: ******
Drive Z: is now connected to http://www.example.com/.

The command completed successfully.

C:\&amp;gt;&lt;/pre&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;

&lt;p&gt;Rather than repeat myself any more than necessary, I wrote the following walkthrough for anyone that plans on using the WebDAV redirector:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Using the WebDAV Redirector 
      &lt;br /&gt;&lt;/strong&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=112138" target="_blank"&gt;http://go.microsoft.com/fwlink/?LinkId=112138&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That walkthrough discusses how to install the redirector if necessary, how to map drives to WebDAV sites, and how to troubleshoot any problems that you might see.&lt;/p&gt;

&lt;h3&gt;Microsoft Expression Web - Using a WebDAV-enabled Editor&lt;/h3&gt;

&lt;p&gt;One of my favorite publishing features in Expression Web is that it has native WebDAV support built-in, so it doesn't have a dependency on the WebDAV redirector in order to work with a WebDAV-enabled web site. If you're currently using Expression Web to open a web site using FPSE, the change to WebDAV should be fairly seamless. If you're currently using FrontPage, the Expression Web team has put together a whitepaper that describes the differences between FrontPage and Expression Web, which is available from the following link:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://download.microsoft.com/download/f/f/2/ff2d736a-9ec6-4e3b-b094-d782aa7cda72/Microsoft_FrontPage_to_Expression_Web.doc" target="_blank"&gt;&lt;b&gt;Microsoft FrontPage to Expression Web&lt;/b&gt;

      &lt;br /&gt;Transitioning to Microsoft&amp;#174; Expression&amp;#174; Web from Microsoft Office FrontPage&amp;#174; 2003&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That being said, when opening a WebDAV web site in Expression Web, you simply enter the HTTP URL the same way that you would if you were opening a site using FPSE:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://blogs.msdn.com/photos/robert_mcmurray/images/8420368/original.aspx" target="_blank"&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8420368/477x375.aspx" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When you first open a web site using WebDAV, Expression Web will prompt you whether to edit the web site live, or edit locally and publish your changes later:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8420392/original.aspx" /&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once your live web site is opened, the WebDAV editing experience is what you would have expected from using FPSE:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&lt;img src="http://blogs.msdn.com/photos/robert_mcmurray/images/8420401/original.aspx" /&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;&lt;/h3&gt;

&lt;h3&gt;Summary&lt;/h3&gt;

&lt;p&gt;So in closing, I've presented a few things to consider when working with WebDAV instead of FPSE. Using the WebDAV redirector makes working with WebDAV sites as easy as working with network shares, and using Expression Web is by far the easiest way to edit WebDAV sites.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8420017" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/FrontPage+Topics/default.aspx">FrontPage Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>WebDAV Extension for Windows Server 2008 RTM is released!</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2008/03/12/webdav-extension-for-windows-server-2008-rtm-is-released.aspx</link><pubDate>Thu, 13 Mar 2008 01:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8175468</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/8175468.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=8175468</wfw:commentRss><description>&lt;P&gt;Earlier today the Microsoft released the RTM version of the new &lt;STRONG&gt;Microsoft WebDAV Extension for IIS 7.0&lt;/STRONG&gt; for Windows Server 2008!&lt;/P&gt;
&lt;P&gt;Listed below are the links for the download pages for each of the individual installation packages:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;32-bit Installation Package&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://go.microsoft.com/fwlink/?LinkId=105144" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105144"&gt;WebDAV (x86) Extension Module for IIS 7.0&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;64-bit Installation Package&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://go.microsoft.com/fwlink/?LinkId=105145" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105145"&gt;WebDAV (x64) Extension Module for IIS 7.0&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;We've loaded this version with many great new features such as:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Integration with IIS 7.0&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;The new WebDAV extension module is fully integrated with the new IIS 7.0 administration interface and configuration store. &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Per-site Configuration&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;WebDAV can be enabled and configured at the site-level on IIS 7.0, which differed from IIS 6.0 where WebDAV was enabled at the server-level through a Web Service Extension. &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Per-URL Security&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;WebDAV-specific security is implemented through WebDAV authoring rules that are configured on a per-URL basis.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Additional information about new features in the WebDAV extension is available in the "&lt;A href="http://go.microsoft.com/fwlink/?LinkId=105146" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105146"&gt;What’s New for Microsoft and WebDAV?&lt;/A&gt;" topic on Microsoft's &lt;A href="http://learn.iis.net/" target=_blank mce_href="http://learn.iis.net/"&gt;http://learn.iis.net/&lt;/A&gt; web site.&lt;/P&gt;
&lt;P&gt;To help you get started using the new WebDAV extension, the following walkthroughs have been published on the &lt;A href="http://learn.iis.net/" mce_href="http://learn.iis.net/"&gt;http://learn.iis.net/&lt;/A&gt; web site:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;B&gt;Getting Started&lt;/B&gt;: 
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=105146" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105146"&gt;Installing and Configuring WebDAV on IIS 7.0&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=110910" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=110910"&gt;What’s New for Microsoft and WebDAV?&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=112138" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=112138"&gt;Using the WebDAV Redirector&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Advanced Administrative Features&lt;/B&gt;: 
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=108319" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=108319"&gt;How to manage WebDAV using APPCMD&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=108320" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=108320"&gt;How to use custom properties with WebDAV&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=108321" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=108321"&gt;How to configure WebDAV and Request Filtering&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=108347" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=108347"&gt;Migrating FPSE Sites to WebDAV&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Here are a couple of screenshots of the new WebDAV UI in action:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;TABLE class=""&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=middle&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/6840403/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/robert_mcmurray/images/6840403/original.aspx"&gt;&lt;IMG title="WebDAV UI" style="WIDTH: 200px; HEIGHT: 150px" height=150 alt="WebDAV UI" src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841259/original.aspx" width=200 border=2 mce_src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841259/original.aspx"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top align=middle&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/6841263/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/robert_mcmurray/images/6841263/original.aspx"&gt;&lt;IMG title="WebDAV Authoring Rules" style="WIDTH: 200px; HEIGHT: 270px" height=270 alt="WebDAV Authoring Rules" src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841268/original.aspx" width=200 border=2 mce_src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841268/original.aspx"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The following prerequisites are required to install the new WebDAV extension:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You must be using Windows Server 2008.&lt;/LI&gt;
&lt;LI&gt;Internet Information Services 7.0 must be installed.&lt;/LI&gt;
&lt;LI&gt;If you are going to manage the new WebDAV extension using the IIS 7.0 user interface, the administration tool will need to be installed.&lt;/LI&gt;
&lt;LI&gt;You must install the new WebDAV extension as an administrator.&lt;/LI&gt;
&lt;LI&gt;IIS 7.0 supports a new shared configuration environment, which must be disabled on each server in a web farm before installing the new WebDAV extension for each node. &lt;B&gt;Note&lt;/B&gt;: Shared configuration can be re-enabled after the WebDAV extension had been installed.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Feedback about the WebDAV extension and requests for information can be posted to the following web forum:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;B&gt;IIS7 Publishing Forum&lt;/B&gt;: &lt;A href="http://forums.iis.net/1045.aspx" mce_href="http://forums.iis.net/1045.aspx"&gt;http://forums.iis.net/1045.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would be remiss if I did not mention that special thanks go to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Keith – for building it&lt;/LI&gt;
&lt;LI&gt;Eok, Sriram, Ciprian, Dave – for testing it&lt;/LI&gt;
&lt;LI&gt;Gurpreet, Brian, Carlos, Reagan – for making it look pretty&lt;/LI&gt;
&lt;LI&gt;Wade, Ulad, Nazim – for stretching it&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;We've had a great time working on this project - thanks again to everyone that provided feedback to us throughout all of our technical previews!&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8175468" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>Enabling WebDAV on IIS 6</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2008/03/04/enabling-webdav-on-iis-6.aspx</link><pubDate>Wed, 05 Mar 2008 01:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8037049</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/8037049.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=8037049</wfw:commentRss><description>&lt;P&gt;I had a great question from someone the other day about enabling WebDAV on IIS 6, so I wrote a simple Windows Script Host (WSH) utility that does the trick. Because I'm a firm believer that writing code for one person will ultimately benefit someone else, I'm making that script the subject of today's blog post. ;-)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: The following script makes use of several IIS 6 metabase properties, and you can see the following topics for more information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms525087(VS.85).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms525087(VS.85).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms525087(VS.85).aspx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms525016(VS.85).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms525016(VS.85).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms525016(VS.85).aspx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms524576(VS.85).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms524576(VS.85).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms524576(VS.85).aspx&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;To use this script, use the following steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the WSH code listed below and paste it into a text editor, such as Windows Notepad: &lt;PRE&gt;&lt;CODE&gt;Option Explicit

' --------------------------------------------------
' Part 1: Enable the WebDAV Web Service Extension.
' --------------------------------------------------

' Retrieve an object for the W3SVC root.
Dim objIIsWebService
Set objIIsWebService = GetObject("IIS://localhost/W3SVC")
' Enable the WebDAV Web Service Extension.
objIIsWebService.EnableWebServiceExtension "WEBDAV"
' Save the changes to the metabase.
objIIsWebService.SetInfo

' --------------------------------------------------
' Part 2: Enable the WebDAV-related attributes for the Default Web Site.
' --------------------------------------------------

' Retrieve an object for the web site root.
Dim objIIsWebSite
Set objIIsWebSite = GetObject("IIS://localhost/W3SVC/1/ROOT")
' Enable the WebDAV-related access flags.
objIIsWebSite.AccessRead = True
objIIsWebSite.AccessSource = True
objIIsWebSite.AccessWrite = True
' Enable the directory browsing - required for file listings.
objIIsWebSite.EnableDirBrowsing = True
' Save the changes to the metabase.
objIIsWebSite.SetInfo
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;
&lt;LI&gt;Update the metabase path&amp;nbsp;for your web site to &lt;STRONG&gt;IIS://localhost/W3SVC/&lt;EM&gt;nnn&lt;/EM&gt;/ROOT&lt;/STRONG&gt;, where &lt;EM&gt;nnn&lt;/EM&gt;&amp;nbsp;is the identifier for the web site where you want to enable WebDAV. &lt;STRONG&gt;Note&lt;/STRONG&gt;: The web site&amp;nbsp;identifier can be found in the IIS Manager using the following steps: 
&lt;UL&gt;
&lt;LI&gt;Open the IIS manager.&lt;/LI&gt;
&lt;LI&gt;Expand the local computer node.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Highlight the Web Sites node.&lt;/LI&gt;
&lt;LI&gt;Notice the site ID in the "Identifier" column.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Save the file as &lt;B&gt;EnableWebDav.vbs&lt;/B&gt; to your desktop and close your text editor.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: This script is not designed the new WebDAV module for IIS 7. To manage the WebDAV module in IIS 7, see the following topics:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=105146"&gt;Installing and Configuring WebDAV on IIS 7.0&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=108319"&gt;How to manage WebDAV using APPCMD&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;I hope this helps!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8037049" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+Topics/default.aspx">IIS Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/Scripting/default.aspx">Scripting</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>WebDAV Redirector Registry Settings</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2008/01/17/webdav-redirector-registry-settings.aspx</link><pubDate>Thu, 17 Jan 2008 23:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7143770</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/7143770.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=7143770</wfw:commentRss><description>&lt;P&gt;Following up on the &lt;A href="http://blogs.msdn.com/robert_mcmurray/archive/2007/12/22/webdav-module-for-windows-server-2008-golive-beta-is-released.aspx" target=_blank mce_href="http://blogs.msdn.com/robert_mcmurray/archive/2007/12/22/webdav-module-for-windows-server-2008-golive-beta-is-released.aspx"&gt;release of the WebDAV module for IIS 7&lt;/A&gt;, I've been experimenting with the WebDAV redirector that comes with Windows Vista and Windows Server 2008. This redirector ships as an updated WebClient service, and if you're using Windows Vista it should already be installed, but on Windows Server 2008 you will need to install the "Desktop Experience" feature. Once installed, you can map drives to WebDAV shares much like mapping to a UNC path:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/7143660/original.aspx" target=_blank mce_href="http://blogs.msdn.com/photos/robert_mcmurray/images/7143660/original.aspx"&gt;&lt;IMG src="http://blogs.msdn.com/photos/robert_mcmurray/images/7143674/original.aspx" border=2 mce_src="http://blogs.msdn.com/photos/robert_mcmurray/images/7143674/original.aspx"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Through some experimentation, I discovered some WebClient service behaviors that I wanted to explain. For example, if I tried to map a drive to a web site that did not have WebDAV enabled I would get an error as expected. But after I enabled WebDAV, I would continue to get an error until some period of additional time had passed. I assumed that the status was somehow cached, and I was curious as to whether I could control that caching. I eventually discovered that there are several settings that control the behavior of the WebDAV redirector that can be configured in the following registry key :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;TT&gt;&lt;NOBR&gt;HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters&lt;/NOBR&gt;&lt;/TT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I found a variety of sources that documented one setting or another but I couldn't find a concise list, so I've collected the following list that contains what I've been able to discover so far:&lt;/P&gt;
&lt;TABLE class="" style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#000000 cellPadding=3 width=400 bgColor=#ffffff borderColorLight=#000000 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="" vAlign=top align=left bgColor=#000000&gt;&lt;FONT color=#ffffff&gt;Value &amp;amp; Description&lt;/FONT&gt;&lt;/TH&gt;
&lt;TH class="" vAlign=top noWrap align=left bgColor=#000000&gt;&lt;FONT color=#ffffff&gt;Type&lt;/FONT&gt;&lt;/TH&gt;
&lt;TH class="" vAlign=top noWrap align=left bgColor=#000000&gt;&lt;FONT color=#ffffff&gt;Values&lt;/FONT&gt;&lt;/TH&gt;
&lt;TH class="" vAlign=top noWrap align=left bgColor=#000000&gt;&lt;FONT color=#ffffff&gt;Default&lt;/FONT&gt;&lt;/TH&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;AcceptOfficeAndTahoeServers&lt;/B&gt; 
&lt;P&gt;Specifies whether the WebClient service can connect to web sites that are running SharePoint or Office Web Server.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;
&lt;TABLE class="" style="BORDER-COLLAPSE: collapse" cellPadding=3 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;0&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;False&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;1&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;True&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;1&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;BasicAuthLevel&lt;/B&gt; 
&lt;P&gt;Specifies whether the WebClient service can use basic authentication to talk to a server.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Note&lt;/B&gt;: Using basic authentication can cause &lt;U&gt;serious security issues&lt;/U&gt; as the username/password are transmitted in clear text, therefore the use of basic authentication over WebDAV is disabled by default unless the connection is using SSL. That being said, this registry key can override the default basic authentication behavior, but it is still &lt;U&gt;strongly discouraged&lt;/U&gt;.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;
&lt;TABLE class="" style="BORDER-COLLAPSE: collapse" cellPadding=3 width="100%" border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;0&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Basic authentication is disabled&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;1&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Basic authentication is enabled for SSL web sites only&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;2&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Basic authentication is enabled for SSL and non-SSL web sites&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;1&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;FileAttributesLimitInBytes&lt;/B&gt; 
&lt;P&gt;Specifies&amp;nbsp; the maximum size that is allowed by the WebClient service for all properties on a specific collection.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Size of attributes in bytes&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;1,000,000 decimal&lt;BR&gt;(1 MB)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;FileSizeLimitInBytes&lt;/B&gt; 
&lt;P&gt;Specifies the maximum size in bytes that the WebClient service allows for file transfers.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;File size in bytes&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;50,000,000 decimal&lt;BR&gt;(50 MB)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;InternetServerTimeoutInSec&lt;/B&gt; 
&lt;P&gt;Specifies the connection timeout for the WebClient service uses when communicating with non-local WebDAV servers.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Time in seconds&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;30 decimal&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;LocalServerTimeoutInSec&lt;/B&gt; 
&lt;P&gt;Specifies the connection timeout for the WebClient service uses when communicating with a local WebDAV server.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Time in seconds&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;15 decimal&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;SendReceiveTimeoutInSec&lt;/B&gt; 
&lt;P&gt;Specifies the timeout in seconds that WebDAV the WebClient service uses after issuing a request, such as “GET /file.ext” or “PUT&amp;nbsp; /file.ext”.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Time in seconds&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;60 decimal&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;ServerNotFoundCacheLifeTimeInSec&lt;/B&gt; 
&lt;P&gt;Specifies the period of time that a server is cached as non-WebDAV by the WebClient service.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Note&lt;/B&gt;: The WebClient service maintains a list of non-WebDAV servers that have been contacted. If the server is found in this list, a fail is returned immediately without attempting to contact the server.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;Time in seconds&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;60 decimal&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;&lt;B&gt;SupportLocking&lt;/B&gt; 
&lt;P&gt;Specifies whether the WebClient service supports locking.&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;DWORD&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;
&lt;TABLE class="" style="BORDER-COLLAPSE: collapse" cellPadding=3 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;0&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;False&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=left&gt;1&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;=&lt;/TD&gt;
&lt;TD class="" vAlign=top align=left&gt;True&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top noWrap align=left&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;B&gt;Note&lt;/B&gt;: After changing any of these settings you will need to restart the WebClient service.&lt;/P&gt;
&lt;P&gt;I hope this list helps someone else. ;-]&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7143770" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+Topics/default.aspx">IIS Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item><item><title>WebDAV Module for Windows Server 2008 GoLive Beta is released</title><link>http://blogs.msdn.com/robert_mcmurray/archive/2007/12/22/webdav-module-for-windows-server-2008-golive-beta-is-released.aspx</link><pubDate>Sun, 23 Dec 2007 03:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6840029</guid><dc:creator>robert_mcmurray</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/robert_mcmurray/comments/6840029.aspx</comments><wfw:commentRss>http://blogs.msdn.com/robert_mcmurray/commentrss.aspx?PostID=6840029</wfw:commentRss><description>&lt;P&gt;Earlier today the IIS product team released the GoLive beta version of the new WebDAV extension module for IIS 7. (This version is currently available for Windows Server 2008 only.)&lt;/P&gt;
&lt;P&gt;Listed below are the links for the download pages for each of the individual installation packages:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;32-bit Installation Package&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://go.microsoft.com/fwlink/?LinkId=105144" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105144"&gt;WebDAV Extension Module for IIS 7.0 (x86)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;STRONG&gt;64-bit Installation Package&lt;/STRONG&gt;: 
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://go.microsoft.com/fwlink/?LinkId=105145" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105145"&gt;WebDAV Extension Module for IIS 7.0 (x64)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;We've loaded this version with many great new features such as:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Integration with IIS 7.0&lt;/STRONG&gt;: The new WebDAV extension module is fully integrated with the new IIS 7.0 administration interface and configuration store. 
&lt;LI&gt;&lt;STRONG&gt;Per-site Configuration&lt;/STRONG&gt;: WebDAV can be enabled at the site-level on IIS 7.0, which differed from IIS 6.0 where WebDAV was enabled at the server-level through a Web Service Extension. 
&lt;LI&gt;&lt;STRONG&gt;Per-URL Security&lt;/STRONG&gt;: WebDAV-specific security is implemented through WebDAV authoring rules that are configured on a per-URL basis.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Here are a couple of screenshots of the new WebDAV UI in action:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;TABLE class=""&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" vAlign=top align=middle&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/6840403/original.aspx" target=_blank&gt;&lt;IMG title="WebDAV UI" style="WIDTH: 200px; HEIGHT: 150px" height=150 alt="WebDAV UI" src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841259/original.aspx" width=200 border=2 mce_src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841259/original.aspx"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD class="" vAlign=top align=middle&gt;&lt;A href="http://blogs.msdn.com/photos/robert_mcmurray/images/6841263/original.aspx" target=_blank&gt;&lt;IMG title="WebDAV Authoring Rules" style="WIDTH: 200px; HEIGHT: 270px" height=270 alt="WebDAV Authoring Rules" src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841268/original.aspx" width=200 border=2 mce_src="http://blogs.msdn.com/photos/robert_mcmurray/images/6841268/original.aspx"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Additional documentation about installing and using this version of WebDAV can be found at the following URL:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Installing and Configuring WebDAV on IIS 7.0&lt;/STRONG&gt;:&lt;BR&gt;&lt;A class="" href="http://go.microsoft.com/fwlink/?LinkId=105146" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=105146"&gt;http://go.microsoft.com/fwlink/?LinkId=105146&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;While this release is a beta version and not technically supported, feedback about this release and requests for information can be posted to the following web forum:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;B&gt;IIS7 - Publishing&lt;/B&gt;:&lt;BR&gt;&lt;A class="" href="http://forums.iis.net/1045.aspx" target=_blank mce_href="http://forums.iis.net/1045.aspx"&gt;http://forums.iis.net/1045.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would be remiss if I did not mention that special thanks go to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Keith&amp;nbsp;– for building it 
&lt;LI&gt;Eok, Sriram, Ciprian – for testing it 
&lt;LI&gt;Gurpreet, Brian, Reagan&amp;nbsp;– for making it look pretty 
&lt;LI&gt;Vijay,&amp;nbsp; Will, Taylor&amp;nbsp;– for helping keep everything on track ;-]&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Thanks!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6840029" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+Topics/default.aspx">IIS Topics</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.msdn.com/robert_mcmurray/archive/tags/WebDAV/default.aspx">WebDAV</category></item></channel></rss>