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

Bring2mind Forums

WebDAV problem: Can't save back to Site.
Last Post 12/03/2010 10:44 PM by Peter Donker. 35 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 2 of 2 << < 12
Author Messages
Laverne Douglas
New Member
New Member
Posts:47


--
09/26/2007 3:34 PM

Peter:

Perfect, exactly what I needed to know. That only leaves security on the web server as the culprit as to why things are not linking properly via WebDAV.

When using "View in Windows Explorer" and the challenge appears; is it asking for DNN security credentials?

Thanx

Laverne

Scott
New Member
New Member
Posts:39


--
09/26/2007 4:45 PM

Hi Peter,

Okay, this definitely changes things.  After prohibiting WebDAV in the Web Server Extensions, I now seem to have the problem described by Laverne.  I am now getting the Windows challenge for an account and password.  Once I enter a domain password that allows access to the location of the physical drive, Word opens and retrieves the file.  However, the file is still set to Read-Only.  I checked the properties on the server to ensure that the files are not set to read only.  Now, when I attempt to save the document, after prompting for a username and password, the application actually does attempt to save the document.  However, I have to rename it (due to the read-only status) and I get the following message: "There has been a network or file permission error".  I'm guessing this is a permission error rather than a network problem since I can successfully retrieve and view the contents of the file over the network.

Anyway, turning off WebDAV in IIS did alter the nature of this problem.  For the moment, I'm going to focus on permissions and assume that the DMX WebDAV is working correctly.  Please let me know If you have any thoughts about what might be causing the permissions errors.

Thanks.

Scott

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/26/2007 4:55 PM
OK, the challenge expects your regular DNN login account. Windows is not consulted by the application. So no domain names etc. Just the regular 'admin', 'dnnadmin' for example.
On this subject: it was made so that the DNN cookie would be used on first call. So if you're logged in the challenge should not occur.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/26/2007 6:02 PM
What are the IIS directory security settings on your site?
Scott
New Member
New Member
Posts:39


--
09/26/2007 6:52 PM

Hi Peter,

YES!  This worked.  After 'prohibiting' WebDAV in the Web Server Extensions, and logging in, everything worked correctly!  Word starts without an authentication challenge, the content is retrieved, and I can save back to the site.  The promise of WebDAV is realized and my users will be happy.

As an intranet site, we don't require logins for all users.  About 85% of the information on the site is open for everyone.  Rather than requiring logins for everyone, we only require users having special permissions to login.  As such, only about 1200 users are actually registered on the site. 

  • Is it possible to configure DMX so that the "Open in ..." option is only visible when the user is actually logged into the site and has the appropriate permission?  To avoid confusion, if the option isn't applicable, I'd rather that users without the appropriate permission don't see this option.

Peter, thanks for perservering through this issue with me.  I realize that you are extremely busy with a new release and responding to other customers while living several time zones away.  Thanks again.

Scott

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/26/2007 9:15 PM
Hi Scott,

Hurray!
I'll make a note of the menu issue. I think it makes sense to not allow the webDAV access if users are not allowed to edit/add.

Peter
Laverne Douglas
New Member
New Member
Posts:47


--
09/26/2007 9:32 PM

Peter / Scott:

We are now working as advertising.

The funny thing is I was making the same suggestions about the Item menu under the UI section, then came here only to find Scott was doing the same.

Thanx for all the help.

Laverne

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/26/2007 9:44 PM
Excellent. I noticed with another user who experienced login screens that he had 'Windows Authentication' checked on the IIS directory security. I unchecked it and WebDAV worked.
optospeed
New Member
New Member
Posts:15


--
09/27/2007 11:54 PM

Hi everybody.

After a few attempts I finally succedeed in having Word automatically starting up with the document to be edited.

Still, when I hit the save button i get a dialog with the following message "word did not save the document". Sniffing the HTTP traffic I found the following trace:

Request:

    PUT /dmxdav.axd/fattura%20pap%C3%A0.doc HTTP/1.1\r\n
        Request Method: PUT
        Request URI: /dmxdav.axd/fattura%20pap%C3%A0.doc
        Request Version: HTTP/1.1
    Content-Language: en-us\r\n
    Accept-Language: en-us\r\n
    If: ()\r\n
    Translate: f\r\n
    Content-Length: 29696
    User-Agent: Microsoft Data Access Internet Publishing Provider DAV\r\n
    Host: portal.proplast.it\r\n
    Connection: Keep-Alive\r\n
    Cookie: .ASPXANONYMOUS=Ok_kpz82yAEkAAAAMjY1YThmNDUtYTI0OC00YTJhLTgwMGUtMTExZWYzYzliNzQw0; _Module351_Visible=false; _Module352_Visible=false; _Module346_Visible=false; _Module347_Visible=false; dmxdavcookie=1863D8E56CC3E4F1DCA9A3B8AF00E419

Reply from server:


    HTTP/1.1 500 Error: Object reference not set to an instance of an object.\r\n
        Request Version: HTTP/1.1
        Response Code: 500
    Date: Thu, 27 Sep 2007 20:25:01 GMT\r\n
    Server: Microsoft-IIS/6.0\r\n
    X-Powered-By: ASP.NET\r\n
    X-AspNet-Version: 2.0.50727\r\n
    Content-Length: 0
    Cache-Control: private\r\n
    Content-Type: text/html\r\n

Request:

    PROPFIND /dmxdav.axd HTTP/1.1\r\n
        Request Method: PROPFIND
        Request URI: /dmxdav.axd
        Request Version: HTTP/1.1
    Content-Language: en-us\r\n
    Accept-Language: en-us\r\n
    Content-Type: text/xml\r\n
    Translate: f\r\n
    Depth: 1\r\n
    Content-Length: 489
    User-Agent: Microsoft Data Access Internet Publishing Provider DAV\r\n
    Host: portal.proplast.it\r\n
    Connection: Keep-Alive\r\n
    Cookie: .ASPXANONYMOUS=Ok_kpz82yAEkAAAAMjY1YThmNDUtYTI0OC00YTJhLTgwMGUtMTExZWYzYzliNzQw0; _Module351_Visible=false; _Module352_Visible=false; _Module346_Visible=false; _Module347_Visible=false; dmxdavcookie=1863D8E56CC3E4F1DCA9A3B8AF00E419
    \r\n
eXtensible Markup Language
            version="1.0"
        encoding="UTF-8"
        ?>
            xmlns:a="DAV:"
        xmlns:b="urn:schemas-microsoft-com:datatypes">
       
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           

       

Reply:

    HTTP/1.1 207 Multi-Status\r\n
        Request Version: HTTP/1.1
        Response Code: 207
    Date: Thu, 27 Sep 2007 20:25:03 GMT\r\n
    Server: Microsoft-IIS/6.0\r\n
    X-Powered-By: ASP.NET\r\n
    X-AspNet-Version: 2.0.50727\r\n
    Content-Length: 1538
    Cache-Control: private\r\n
    Content-Type: text/xml\r\n
    \r\n
eXtensible Markup Language
            version="1.0"
        encoding="utf-8"
        ?>
            xmlns:d="DAV:">
       
           
                http://portal.xxx.it/dmxdav.axd/
               

           
               
                    HTTP/1.1 200 OK
                   

               
                   
                   
                        2007-09-27T19:52:23Z
                       

                   
                        Thu, 27 Sep 2007 19:52:23 GMT
                       

                   
                   
                        dmxdav.axd
                       

                   
                       
                       

                   

               

           
               
                    HTTP/1.1 404 Not Found
                   

               
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   

               

           

       
           
                http://portal.xxx.xx/dmxd...tura%20pap%c3%a0.doc
               

           
               
                    HTTP/1.1 200 OK
                   

               
                   
                        application/msword
                       

                   
                        2007-09-27T19:52:23Z
                       

                   
                        Thu, 27 Sep 2007 19:52:23 GMT
                       

                   
                        29184
                       

                   
                        fattura pap\303\240.doc
                       

                   
                   

               

           
               
                    HTTP/1.1 404 Not Found
                   

               
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   
                   

               

           

       

Any thought on what is going wrong?

Thank you

Andrea 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/28/2007 9:18 AM
Andrea,
Does this also occur when editing a document in a subfolder?
Peter
optospeed
New Member
New Member
Posts:15


--
10/01/2007 12:53 AM

Peter,

actually WebDav in subfolders works perfectly!!!

Is this a 'by design' behaviour (WebDav not working in root folder) or am I missing some settings in my installation?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/01/2007 10:32 AM

The root folder is only 'writable' for Admins and is not the best place to start your document management. I urge everyone to start subfolders first to start proper permission setting etc. There are other issues with the root folder that have to do with the Windows WebDAV client. Check out this post:

http://www.bring2mind.net...w/topic/Default.aspx

In all, best practice is to use subfolders.

jacton
New Member
New Member
Posts:5


--
05/04/2010 10:53 PM

Forgive me if this is a stupid question, but does WebDAV need to be installed on the server?  or did I read that DMX handled it on it's own?

I'm having the issue when opening documents where they are in read only mode and can't be saved to the server.

Thanks

Jason Scott
New Member
New Member
Posts:46


--
05/05/2010 11:30 PM
You don't want WebDAV on the server. The WebDAV client is on each user's computer in the form of Windows XP, a program like WebDrive, or some other program. If you're opening in Word, then I believe it's Word itself handling the WebDAV calls, but it's an ActiveX call that'll start the whole process. Make sure you're not blocking the ActiveX call.
Fiddler truly is your friend when hunting down WebDAV issues. I'd suggest reading Peter's tutorial on using Fiddler to troubleshoot WebDAV, then letting us know what anomalies you're finding. I would say to make sure you're logged in as a normal (non-admin/host) user when trying to use WebDAV.
Jose
New Member
New Member
Posts:1


--
12/02/2010 7:50 PM
Hi Peter,

I purchase the Document Exchange 5.2 through snowcovered and I been having some issues ; I follow the installation guide that comes with installation package and I been reading some post in bring2mind.net forums and I still having the same problem. The problem is when I open the document and i try to save back to the server shows me some message error that say: "WORD CAN NOT SAVE THE DOCUMENT END OF AN ERROR BECAUSE OF PERMITS ON FILE", I checked to ensure that the appropriate permissions exists and I still cannot save a file back.

I will be waiting for your answer, Thanks.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/03/2010 10:44 PM
Hi Jose,

Does it say "Read Only" in the Word title bar when you've opened the document?

Peter
You are not authorized to post a reply.
Page 2 of 2 << < 12