Re: [Zope] WebDAV lockingproblem with Word
On Wed, 7 Nov 2001, Andreas Jung wrote:
Please install WebDAVLogger: http://www.zope.org/Members/ajung/WebDAVLogger and send to intercept the WebDAV traffic. Btw. I wrote an explanation on Office 2K issues and Zope WebDAV some time ago on the mailinglist. Please search through the archive.
In which directory, does the WebDAVLogger store it's logfile. I don't find it anywhere. By the way, after restarting my Windowsmachine, the following happened: I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163
"I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints." That's the point: As soon as Word has to authenticate, it seems to start sending the authentication info. Before that, it seems to retrieve the files as anonymous user, which of course means that it has no rights to set the locks etc. Joachim
On Wed, 7 Nov 2001, Joachim Werner wrote:
"I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints."
That's the point: As soon as Word has to authenticate, it seems to start sending the authentication info. Before that, it seems to retrieve the files as anonymous user, which of course means that it has no rights to set the locks etc.
I don't think so, cause it works with doc-files even without authentication.
Joachim
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163
The problem with M$ application and Zope is somewhat weird and Word is lying when it reports a file to be read-only. As an example I mounted a Zope instance as webfolder and edited an existing HTML file. The logs show that Word locks the file, requests its contents and then release the lock. When I try to save the file it sends a 'PROPFIND /' and receives all informations about all files but no lock informations (because Word did not request lock information in the PROPFIND request). For some dumb-dumb-dumb reasons, Word concludes that the file is read-only (the Zope WevDAVLock manager shows that are no locks). Andreas ----- Original Message ----- From: "Joachim Schmitz" <js@aixtraware.de> To: "Joachim Werner" <joe@iuveno-net.de> Cc: "Andreas Jung" <andreas@andreas-jung.com>; "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 08:21 Subject: Re: [Zope] WebDAV lockingproblem with Word On Wed, 7 Nov 2001, Joachim Werner wrote:
"I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints."
That's the point: As soon as Word has to authenticate, it seems to start sending the authentication info. Before that, it seems to retrieve the files as anonymous user, which of course means that it has no rights to set the locks etc.
I don't think so, cause it works with doc-files even without authentication.
Joachim
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
M$ applications request several non-WebDAV compliant properties like 'isreadonly' from the WebDAV server. Maybe M$ applications expect other return values instead of a WebDAV compliant answer. To approach this problem it could help to intercept the WebDAV traffic between Word and M$ server application that supports WebDAV. Are there any volunteers trying to solve this problem ? Andreas ----- Original Message ----- From: "Andreas Jung" <andreas@zope.com> To: "Joachim Schmitz" <js@aixtraware.de>; "Joachim Werner" <joe@iuveno-net.de> Cc: "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 09:55 Subject: Re: [Zope] WebDAV lockingproblem with Word The problem with M$ application and Zope is somewhat weird and Word is lying when it reports a file to be read-only. As an example I mounted a Zope instance as webfolder and edited an existing HTML file. The logs show that Word locks the file, requests its contents and then release the lock. When I try to save the file it sends a 'PROPFIND /' and receives all informations about all files but no lock informations (because Word did not request lock information in the PROPFIND request). For some dumb-dumb-dumb reasons, Word concludes that the file is read-only (the Zope WevDAVLock manager shows that are no locks). Andreas ----- Original Message ----- From: "Joachim Schmitz" <js@aixtraware.de> To: "Joachim Werner" <joe@iuveno-net.de> Cc: "Andreas Jung" <andreas@andreas-jung.com>; "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 08:21 Subject: Re: [Zope] WebDAV lockingproblem with Word On Wed, 7 Nov 2001, Joachim Werner wrote:
"I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints."
That's the point: As soon as Word has to authenticate, it seems to start sending the authentication info. Before that, it seems to retrieve the files as anonymous user, which of course means that it has no rights to set the locks etc.
I don't think so, cause it works with doc-files even without authentication.
Joachim
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Andreas, since word is a (the most ??) important content creation tool for non programmers would it not be sensible to add a second WebDAV port that does nothing but handle the Word idiosyncrasies and the forwards things to the normal DAV port? I would very much like to tell my customers that they do not need anything but word to maintain their content. Robert ----- Original Message ----- From: "Andreas Jung" <andreas@zope.com> To: "Joachim Schmitz" <js@aixtraware.de>; "Joachim Werner" <joe@iuveno-net.de> Cc: "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 3:55 PM Subject: Re: [Zope] WebDAV lockingproblem with Word The problem with M$ application and Zope is somewhat weird and Word is lying when it reports a file to be read-only. As an example I mounted a Zope instance as webfolder and edited an existing HTML file. The logs show that Word locks the file, requests its contents and then release the lock. When I try to save the file it sends a 'PROPFIND /' and receives all informations about all files but no lock informations (because Word did not request lock information in the PROPFIND request). For some dumb-dumb-dumb reasons, Word concludes that the file is read-only (the Zope WevDAVLock manager shows that are no locks). Andreas ----- Original Message ----- From: "Joachim Schmitz" <js@aixtraware.de> To: "Joachim Werner" <joe@iuveno-net.de> Cc: "Andreas Jung" <andreas@andreas-jung.com>; "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 08:21 Subject: Re: [Zope] WebDAV lockingproblem with Word On Wed, 7 Nov 2001, Joachim Werner wrote:
"I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints."
That's the point: As soon as Word has to authenticate, it seems to start sending the authentication info. Before that, it seems to retrieve the files as anonymous user, which of course means that it has no rights to set the locks etc.
I don't think so, cause it works with doc-files even without authentication.
Joachim
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I agree. But doing this we need to understand how the M$ WebDAV implementation works. This is mainly a reverse-engineering task. Andreas ----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: "Andreas Jung" <andreas@zope.com>; "Joachim Schmitz" <js@aixtraware.de>; "Joachim Werner" <joe@iuveno-net.de> Cc: "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 12:24 Subject: Re: [Zope] WebDAV lockingproblem with Word Andreas, since word is a (the most ??) important content creation tool for non programmers would it not be sensible to add a second WebDAV port that does nothing but handle the Word idiosyncrasies and the forwards things to the normal DAV port? I would very much like to tell my customers that they do not need anything but word to maintain their content. Robert ----- Original Message ----- From: "Andreas Jung" <andreas@zope.com> To: "Joachim Schmitz" <js@aixtraware.de>; "Joachim Werner" <joe@iuveno-net.de> Cc: "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 3:55 PM Subject: Re: [Zope] WebDAV lockingproblem with Word The problem with M$ application and Zope is somewhat weird and Word is lying when it reports a file to be read-only. As an example I mounted a Zope instance as webfolder and edited an existing HTML file. The logs show that Word locks the file, requests its contents and then release the lock. When I try to save the file it sends a 'PROPFIND /' and receives all informations about all files but no lock informations (because Word did not request lock information in the PROPFIND request). For some dumb-dumb-dumb reasons, Word concludes that the file is read-only (the Zope WevDAVLock manager shows that are no locks). Andreas ----- Original Message ----- From: "Joachim Schmitz" <js@aixtraware.de> To: "Joachim Werner" <joe@iuveno-net.de> Cc: "Andreas Jung" <andreas@andreas-jung.com>; "zope-list" <zope@zope.org> Sent: Wednesday, November 07, 2001 08:21 Subject: Re: [Zope] WebDAV lockingproblem with Word On Wed, 7 Nov 2001, Joachim Werner wrote:
"I could open and read a worddocument in a WebDAV-folder, but not a htm-document. After writing a new htm-document, during which I had to authorize again, I could read also the older htm-documents. Perhaps that gives some hints."
That's the point: As soon as Word has to authenticate, it seems to start sending the authentication info. Before that, it seems to retrieve the files as anonymous user, which of course means that it has no rights to set the locks etc.
I don't think so, cause it works with doc-files even without authentication.
Joachim
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
since word is a (the most ??) important content creation tool for non programmers would it not be sensible to add a second WebDAV port that does nothing but handle the Word idiosyncrasies and the forwards things to the normal DAV port?
I would very much like to tell my customers that they do not need anything but word to maintain their content.
But still we'd first have to find out WHAT is going wrong, as Zope seems to comply with the standard and Word doesn't ... I think all the software needed for a test can be got from Microsoft for a free testing period (some of them up to 120 days). Their most prominent example of a WebDAV server is the SharePoint Portal server. The MS Exchange repository also is WebDAV-enabled ... I am sorry that I'll probably not be the one to do the tests because of time restrictions. Joachim
----- Original Message ----- From: "Joachim Werner" <joe@iuveno-net.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 13:10 Subject: Re: [Zope] WebDAV lockingproblem with Word
since word is a (the most ??) important content creation tool for non programmers would it not be sensible to add a second WebDAV port that does nothing but handle the Word idiosyncrasies and the forwards things to the normal DAV port?
I would very much like to tell my customers that they do not need anything but word to maintain their content.
But still we'd first have to find out WHAT is going wrong, as Zope seems to comply with the standard and Word doesn't ...
It is not a question of compliance to the WebDAV specs but a question how M$ applications interpret the responses. They send correct requests and receive correct answers. But it seems that M$ servers seem to send some additional informations that are required to work with M$ applications
I think all the software needed for a test can be got from Microsoft for a free testing period (some of them up to 120 days). Their most prominent example of a WebDAV server is the SharePoint Portal server. The MS
Exchange
repository also is WebDAV-enabled ...
Thanks for this advice. Andreas
I have been looking trough the Microsoft developer site and found a reference that might be helpful http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_we bdav_methods.asp I tried to compile one of their C++ examples but failed since 2 identifiers are undeclared IID_IXMLHttpRequest and CLSID_XMLHTTPRequest I found their declaration nowhere. So if somebody could tell me what I need to have them declared I could start fiddling. Robert ----- Original Message ----- From: "Andreas Jung" <andreas@zope.com> To: "Joachim Werner" <joe@iuveno-net.de>; "Robert Rottermann" <robert@redcor.ch> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 8:35 PM Subject: Re: [Zope] WebDAV lockingproblem with Word
----- Original Message ----- From: "Joachim Werner" <joe@iuveno-net.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 13:10 Subject: Re: [Zope] WebDAV lockingproblem with Word
since word is a (the most ??) important content creation tool for non programmers would it not be sensible to add a second WebDAV port that does nothing but handle the Word idiosyncrasies and the forwards things to the normal DAV port?
I would very much like to tell my customers that they do not need anything but word to maintain their content.
But still we'd first have to find out WHAT is going wrong, as Zope seems to comply with the standard and Word doesn't ...
It is not a question of compliance to the WebDAV specs but a question how M$ applications interpret the responses. They send correct requests and receive correct answers. But it seems that M$ servers seem to send some additional informations that are required to work with M$
applications
I think all the software needed for a test can be got from Microsoft for
a
free testing period (some of them up to 120 days). Their most prominent example of a WebDAV server is the SharePoint Portal server. The MS Exchange repository also is WebDAV-enabled ...
Thanks for this advice.
Andreas
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi,
I tried to compile one of their C++ examples but failed since 2 identifiers are undeclared IID_IXMLHttpRequest and CLSID_XMLHTTPRequest I found their declaration nowhere.
you will need an up-to-date XML SDK. If you send me the example I could try to look at it. COM development is something I have much more experience with, than with ZOPE. ;-) greetings Achim
Hi Achim, I did download their newest XML SDK (MSxml 4) I did my bunch of COM programming. However it is now 2 years I do not touch MS Studio that often anymore. And there is that amount of information you can keep current with .. attached is the example: I did create a console application using MFC. I only send the "main" cpp. Robert ----- Original Message ----- From: "Achim Domma" <achim.domma@syynx.de> To: "Robert Rottermann" <robert@redcor.ch>; "Andreas Jung" <andreas@zope.com>; "Joachim Werner" <joe@iuveno-net.de> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 11:43 PM Subject: RE: [Zope] WebDAV lockingproblem with Word
Hi,
I tried to compile one of their C++ examples but failed since 2 identifiers are undeclared IID_IXMLHttpRequest and CLSID_XMLHTTPRequest I found their declaration nowhere.
you will need an up-to-date XML SDK. If you send me the example I could try to look at it. COM development is something I have much more experience with, than with ZOPE. ;-)
greetings Achim
Hi Robert, I was able to compile your example and it seems to work with Zope. As far as I understand your code tries to modify the author of an item. If I try to excecute this for an DTML-Method I get an 'Method not allowed' error, but for an gif it seems to work (where can I see the author property in Zope ?). What else could it do ? As I mentioned bevor I'm more a C++/COM developer than a Zope guru, so I don't know much about WebDAV and don't know what kind of support you need. Achim
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Robert Rottermann Sent: Thursday, November 08, 2001 09:40 To: Achim Domma; Andreas Jung; Joachim Werner Cc: zope@zope.org Subject: Re: [Zope] WebDAV lockingproblem with Word
Hi Achim, I did download their newest XML SDK (MSxml 4) I did my bunch of COM programming. However it is now 2 years I do not touch MS Studio that often anymore. And there is that amount of information you can keep current with ..
attached is the example: I did create a console application using MFC. I only send the "main" cpp.
Robert
----- Original Message ----- From: "Achim Domma" <achim.domma@syynx.de> To: "Robert Rottermann" <robert@redcor.ch>; "Andreas Jung" <andreas@zope.com>; "Joachim Werner" <joe@iuveno-net.de> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 11:43 PM Subject: RE: [Zope] WebDAV lockingproblem with Word
Hi,
I tried to compile one of their C++ examples but failed since 2 identifiers are undeclared IID_IXMLHttpRequest and CLSID_XMLHTTPRequest I found their declaration nowhere.
you will need an up-to-date XML SDK. If you send me the example I could try to look at it. COM development is something I have much more experience with, than with ZOPE. ;-)
greetings Achim
Hi Achim, great. Can you tell we where the identifiers that where undefined for me are declared ?? I have not updated my VS for quiet some time. It has service pack 5 installed. Now for your questions. What I wanted to do was upload a word document to zope and test the program against it. I do not know much about webdav either. I just wanted to start playing around with it. Robert ----- Original Message ----- From: "Achim Domma" <achim.domma@syynx.de> To: "Robert Rottermann" <robert@redcor.ch>; "Andreas Jung" <andreas@zope.com>; "Joachim Werner" <joe@iuveno-net.de> Cc: <zope@zope.org> Sent: Thursday, November 08, 2001 10:18 AM Subject: RE: [Zope] WebDAV lockingproblem with Word
Hi Robert,
I was able to compile your example and it seems to work with Zope. As far as I understand your code tries to modify the author of an item. If I try to excecute this for an DTML-Method I get an 'Method not allowed' error, but for an gif it seems to work (where can I see the author property in Zope ?). What else could it do ? As I mentioned bevor I'm more a C++/COM developer than a Zope guru, so I don't know much about WebDAV and don't know what kind of support you need.
Achim
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Robert Rottermann Sent: Thursday, November 08, 2001 09:40 To: Achim Domma; Andreas Jung; Joachim Werner Cc: zope@zope.org Subject: Re: [Zope] WebDAV lockingproblem with Word
Hi Achim, I did download their newest XML SDK (MSxml 4) I did my bunch of COM programming. However it is now 2 years I do not touch MS Studio that often anymore. And there is that amount of information you can keep current with ..
attached is the example: I did create a console application using MFC. I only send the "main" cpp.
Robert
----- Original Message ----- From: "Achim Domma" <achim.domma@syynx.de> To: "Robert Rottermann" <robert@redcor.ch>; "Andreas Jung" <andreas@zope.com>; "Joachim Werner" <joe@iuveno-net.de> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 11:43 PM Subject: RE: [Zope] WebDAV lockingproblem with Word
Hi,
I tried to compile one of their C++ examples but failed since 2 identifiers are undeclared IID_IXMLHttpRequest and CLSID_XMLHTTPRequest I found their declaration nowhere.
you will need an up-to-date XML SDK. If you send me the example I could try to look at it. COM development is something I have much more experience with, than with ZOPE. ;-)
greetings Achim
Just a quote for your amuesment. This is taken from an email response from Microsoft where I have been asking about the WebDAV problems with Zope and Winword :-) """ Have you involved ZOPE in this issue because Windows 2000 and Windows ME is also affected by this issue? My opinion in this case is that the ZOPE server keeps the file locked after the Office component unlocks the file. We never had problems with IIS and locking. This is the case why I only believe that the server component is causing the problem! Please notice that the ZOPE is open source and therefore it is not guaranteed that it is RFC compliant! """ Cheers, Andreas ----- Original Message ----- From: "Joachim Werner" <joe@iuveno-net.de> To: "Robert Rottermann" <robert@redcor.ch> Cc: <zope@zope.org> Sent: Wednesday, November 07, 2001 13:10 Subject: Re: [Zope] WebDAV lockingproblem with Word
since word is a (the most ??) important content creation tool for non programmers would it not be sensible to add a second WebDAV port that does nothing but handle the Word idiosyncrasies and the forwards things to the normal DAV port?
I would very much like to tell my customers that they do not need anything but word to maintain their content.
But still we'd first have to find out WHAT is going wrong, as Zope seems to comply with the standard and Word doesn't ...
I think all the software needed for a test can be got from Microsoft for a free testing period (some of them up to 120 days). Their most prominent example of a WebDAV server is the SharePoint Portal server. The MS Exchange repository also is WebDAV-enabled ...
I am sorry that I'll probably not be the one to do the tests because of time restrictions.
Joachim
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Andreas Jung wrote:
Just a quote for your amuesment. This is taken from an email response
from Microsoft where I have been asking about the WebDAV problems with Zope and Winword :-)
""" Have you involved ZOPE in this issue because Windows 2000 and Windows ME is also affected by this issue? My opinion in this case is that the ZOPE server keeps the file locked after the Office component unlocks the file. We never had problems with IIS and locking. This is the case why I only believe that the server component is causing the problem! Please notice that the ZOPE is open source and therefore it is not guaranteed that it is RFC compliant! """
Bwahahaha, this is brilliant... Wasn't there a page with quotes somewhere on zope.org? thanks, that made my day, oliver
participants (6)
-
Achim Domma -
Andreas Jung -
Joachim Schmitz -
Joachim Werner -
Oliver Bleutgen -
Robert Rottermann