Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Enable WebDAV Greyed Out
Last Post 06/30/2008 10:53 AM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Brian
New Member
New Member
Posts:11


--
05/16/2008 8:16 PM

This is probably something really stupid but when I go to main options the option to enable WebDAV is greyed out?  Does anyone have the answer?  I had all the appropriate server items installed by PowerDNN.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/18/2008 8:48 PM
Hi Thomas,

The checkbox becomes enabled when the web.config lines are there and correct. It's as simple as that. If it is greyed out the handlers are incorrect in the web.config. Check with John about having them correctly set up.

Peter
Randy Holdeman
New Member
New Member
Posts:1


--
06/26/2008 5:19 PM

I am also having a difficult time getting the WebDav option enabled.  I compared the web.config settings with the current installation guide and it matches.  Any other suggestions?  This is an upgrade from DMX 3 to DMX 4.  Does the current installation guide have all of the web.config settings?

Thanks,

Randy

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/30/2008 10:53 AM
Hi Randy,
Yes, it does. There are only 3 lines that are important for webdav availability (DMX 04.02.xx), 2 in the httphandler section and 1 in the httpmodules section:
      add path="/" verb="OPTIONS,PROPFIND" type="Bring2mind.DNN.Modules.DMX.WebDAV.DavHandler, Bring2mind.DNN.Modules.DMX.WebDAV" validate="false"
      add path="dmxdav.axd" verb="GET,HEAD,PUT,OPTIONS,PROPFIND,PROPPATCH,COPY,MOVE,DELETE,MKCOL,LOCK,UNLOCK,DEBUG" type="Bring2mind.DNN.Modules.DMX.WebDAV.DavHandler, Bring2mind.DNN.Modules.DMX.WebDAV" validate="false"
and in the httpModules section
add name="WebDAVAuthenticationModule" type="Bring2mind.DNN.Modules.DMX.WebDAV.AuthenticationModule, Bring2mind.DNN.Modules.DMX.WebDAV"
For techies, in code DMX does the following:
_webDAVAvailable = Common.Config.ExistsHttpHandler(configuration, "/", "Bring2mind.DNN.Modules.DMX.WebDAV.DavHandler, Bring2mind.DNN.Modules.DMX.WebDAV", "OPTIONS,PROPFIND") And Common.Config.ExistsHttpHandler(configuration, "dmxdav.axd", "Bring2mind.DNN.Modules.DMX.WebDAV.DavHandler, Bring2mind.DNN.Modules.DMX.WebDAV", "GET,HEAD,PUT,OPTIONS,PROPFIND,PROPPATCH,COPY,MOVE,DELETE,MKCOL,LOCK,UNLOCK,DEBUG")
The methods used check at XML level in the config file and make a literal match (so case sensitive as well). This should not be a problem as these get added programmatically. Note you can try to reset this by doing the following:
1.     Log in as Host
2.     Go to Admin > Run Scripts and click 'Reinstall Config'
3.     Go to Host Settings and click 'restart application'
This should reset the web.config entries.
Peter
 
You are not authorized to post a reply.