Friday, July 25, 2008
 
   
 
How to Setup a WebDav enabled root folder   Minimize
Location: BlogsOpenDNN blogOpen-DocumentLibrary    
Posted by: Xepient Solutions 12/27/2007
A few easy steps to enable WebDav on your server, and take advantage of the power of direct server editing.
Prerequisites: Create an O-DL root folder

Through the O-DL interface, You'll have already created a documents root folder, that resides under the "/Portals/[0]" directory.

The is the virtual directory where you have installed your DNN application.
The [0] is the default parent portal id. If you have installed O-DL in a child portal, the [0] directory will have a different number or name.
We'll call the documents root folder "O-DL root folder" and it will be located "/Portals/0/O-DL root folder"


Step 1: Enable WebDav service extensions

Open the IIS Manager, and click on the WebService Extensions folder in the navigation tree on the left panel.
In the list of the Web Service Extensions that will appear on the right, you will see WebDav. If it is disabled, click on the Allow button.


Step 2: Make the O-DL root folder a WebDav enabled folder

Open the IIS Manager, and navigate to the folder corresponding to teh O-DL root folder in the navigation tree on the left panel.
In this case it will be "DotNetNuke4.7.0/Portals/0/O-DL root Folder"



Right click on the root folder, and wclick on the properties option in the context menu that will appear.
The Properties window will appear. Click on the "Write" checkbox as shown in the image below.


Step 3: Enable WebDav in O-DL

Go to the module settings and enable WebDav as shown in the image below.

 

Step 4: Edit the document

Once WebDav is enabled, an additional icon will appear below the download icon (teh icon with teh orange arrows in the image below). Use that additional icon to open the document directly from the server and save any changes directly to the server.


Permalink |  Trackback

Comments (10)   Add Comment
Re: How to Setup a WebDav enabled root folder    By djamell on 1/22/2008
I followed the instructions and when I click on the Enable WebDAV ckeckbox and click the "Check" icon I get the following error.<br> <br>"webdav [or some of its options] does not seem to be enabled on the server or, the server response is not a valid webdav response "<br><br>I was running DNN 4.5.5 and upgraded to 4.6.2 and still have the problem.<br><br>Please advise.

Re: How to Setup a WebDav enabled root folder    By host on 1/22/2008
Hi,<br>the check action sends a request to the server (the currently selected root folder), and analyzes the response, looking for some webdav specific implemented actions. If it does not find them in the response header, you will get the message you reported.<br><br>However, this does not really mean that webdav is not enabled in your server or some of the subfolders. It is just a possible warning.<br><br>Go ahead and leave the webdav checkbox selected, and try opening the document as a webdav document. If you followed the appropriate setup steps, it should work.<br>

Re: How to Setup a WebDav enabled root folder    By djamell on 1/25/2008
It works, but it prompts me with a "Windows Authentication" type Login box and I must enter a valid Windows (AD) username and password to open the file. Is there some IIS6 configuration change I can make to remove this? I need to be able to let users outside the Windows AD Domain to open files.

Re: How to Setup a WebDav enabled root folder    By host on 1/25/2008
I suppose you could setup impersonation of a user that has the appropriate rights.<br><br>I am not sure it is the safest way to do it in an extranet.<br><br>In order to setup impersonation, you can do so in the web.config. In this post, <br>http://www.opendnn.net/Resources/Blog/tabid/129/EntryID/17/Default.aspx<br><br>we explain how. (just look at the web.config cahnges necessary. The rest of the article is not relevant).<br>

Re: How to Setup a WebDav enabled root folder    By djamell on 1/27/2008
So this behaviour is expected? In reading the information about WebDAV on this website, including this blog post, you don't even mention it. It's presented as setup, open, and save.<br><br>I think you should revise your site to include the fact that you must have a valid local AD login in order to use WebDAV.<br><br>Perhaps this is also my failing for not fully understanding the underlying WebDAV technology.

Re: How to Setup a WebDav enabled root folder    By host on 1/27/2008
You do not need an underlying AD user. You could allow anonymous access to your webdav folder by allowing the ASPNET or NetworkService account full (or read/write/modify) access to the underlying folder. <br><br>

Re: How to Setup a WebDav enabled root folder    By jeidson on 2/15/2008
This may not be the proper place for this post, but I am unable to even create sub-folders or set permissions, let alone configure the webdav options. I get a {"value":null,"error":null} on almost everything I do once I click the update link. Am I missing something obvious? thanks

Re: How to Setup a WebDav enabled root folder    By host on 2/15/2008
jeidson, can you please write at info[@]xepient. co m<br>with the following details: DNN version, O-DL version installed, Operating system, .NET versions installed<br>Please do not post support questions in this blog.

Re: How to Setup a WebDav enabled root folder    By Scott Allender on 6/13/2008
When I attempt to update a file on the server, I seem to get a link to the file, as opposed to the real file. I followed the steps outlined above, but keep encountering the same issue. Have I misconfigured something?

Re: How to Setup a WebDav enabled root folder    By host on 6/13/2008
Hello,<br><br>you are correct, when clicking the WebDav download button in O-DL, you are really getting a link to the document on the server. Your WebEnabled client (such as MSWord) should then open that file (directly from the server),, and allow you to save any changes directly to the server.<br><br>The fact that what you are downloading is a link, should be transparent to the end user.<br>


Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
     
Search the Blog   Minimize
     
Blog List   Minimize
     
Blog Archive   Minimize