Microsoft KB Archive/221600

= Working with Distributed Authoring and Versioning (DAV) and Web Folders =

Article ID: 221600

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q221600



SUMMARY
Microsoft Internet Information Services (IIS) version 5.0 supports the Distributed Authoring and Versioning (DAV) extensions to the HTTP protocol as defined in RFC 2518. You can use Web folders from Microsoft Office 2000 or Windows 2000 with an IIS 5.0 computer to take advantage of the DAV features when authoring.



MORE INFORMATION
The following information will lead you through the various steps and possible errors that can occur when configuring Web folders.

NOTE: This example uninstalls the FrontPage Server Extensions from your default Web site. If this is not acceptable for your default Web site, you may want to try these steps on an alternate testing server.  In order to use DAV only, ensure that the FrontPage Server Extensions are not installed (they can be reinstalled later):  Open up Internet Services Manager in the MMC. Right-click your default Web site. Select All Tasks on the pop-up menu. If Remove Server Extensions is an option, do the following:  Click Remove Server Extensions. Check the box to preserve the FrontPage metadata and click OK.</li></ol> </li></ol> </li> Create a virtual directory for testing: <ol style="list-style-type: lower-alpha;"> Create a new folder named "C:\DavTests".</li> Open Internet Services Manager in the MMC.</li> Right-click your default Web site.</li> Select New, and then select Virtual Directory on the pop-up menu.</li> Click Next to start the wizard.</li> Enter "davtests" for the alias and click Next.</li> Enter the folder "C:\DavTests" and click Next.</li> Select Read and Run Scripts, and then click Next.</li> Click Finish to complete the wizard.</li> Right-click the new virtual directory and click Properties on the pop-up menu.</li> Select the Virtual Directory tab and verify that only Read Access is currently selected.</li> Move this window to the side for now, as you'll need this information later.</li></ol> </li> Create a new Web folder for the virtual directory you just created: <ol style="list-style-type: lower-alpha;"> Double-click My Computer on your desktop.</li> <li>Double-click Web Folders.</li> <li>Double-click Add Web Folder.</li> <li>Enter "http://localhost/davtests" in the text box provided and click Next.</li> <li>Enter "Dav Tests" for the name and click Finish.</li> <li>Double-click the new Dav Tests Web folder. You should see an empty folder.</li> <li>Move this window to the side for now as well.</li></ol> </li> <li>Create two pages for testing: <ol style="list-style-type: lower-alpha;"> <li> Copy the following ASP code and save it as "Hello.asp" on your desktop: <% @Language="VBSCRIPT" %> DAV Test Page <%="Hello World!"%> </li> <li> Copy the following text and save it as "Hello.txt" on your desktop: Hello World! </li></ol> </li> <li>The following section discusses possible configurations and the errors that you may see when working with Web folders. Switch back to the Virtual Directory tab and verify again that only Read Access is currently selected. <ol style="list-style-type: lower-alpha;"> <li>Enabling Write Access: <ol> <li>Try to drag the Hello.txt file into the Dav Tests Web folder.</li> <li>You should get an error stating that the file could not be copied.</li> <li>Switch back to the Virtual Directory tab, check the Write Access box, and click Apply.</li></ol> </li> <li>Enabling Directory Browsing: <ol> <li>Drag the Hello.txt file into the Dav Tests Web folder, and then refresh the window.</li> <li>You should see an empty folder.</li> <li>Switch back to the Virtual Directory tab, check the Directory Browsing box, and click Apply.</li> <li>Refresh the Dav Tests window.</li> <li>You should now see the Hello.txt file.</li></ol> </li> <li>Enabling and Disabling Script Source Access: <ol> <li>Try to drag the Hello.asp file into the Dav Tests Web folder.</li> <li>You should get an error stating that the file could not be copied.</li> <li>Switch back to the Virtual Directory tab, check the Script Source Access box, and click Apply.</li> <li>Drag the Hello.asp file into the Dav Tests Web folder.</li> <li>You should see the Hello.asp file.</li> <li>Open Notepad and move it to the side.</li> <li>Drag the "Hello.asp file into Notepad. You should see the ASP source code.</li> <li>Drag the Hello.txt file into Notepad, and you should see the text.</li> <li>Switch back to the Virtual Directory tab, uncheck the Script Source Access box, and click Apply.</li> <li>Try to drag the Hello.asp file into Notepad.</li> <li>You should get an error stating that the file could not be copied.</li> <li>Drag the Hello.txt file into Notepad. You should see the text.</li> <li>Switch back to the Virtual Directory tab, check the Script Source Access box, and click Apply.</li></ol> </li></ol> </li></ol>

Additional query words: iis dav asp

Keywords: kbinfo KB221600

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.