473,386 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

MS Word misinterpreting WebDAV response

Hello,

We have an application that has a WebDAV interface which office applications
(and other applications which understand WebDAV) can use to open and edit
documents.

We are having a problem with MS Word (and Excel, haven't tested any other
apps) misinterpreting the responses from the WebDAV. The sequence of events
is as follows:

1) The current version of the document has an ETag of "xxx".
2) Word issues a LOCK request for the document.
3) Word issues a GET request for the document, passing an "If-None-Match"
header with a value of "xxx".
4) As the client already has the document, the server returns 304 (Not
Modified) and no content.
5) The user edits the document and saves it this causes a PUT to the server.
6) After the PUT Word does a PROPFIND against the document and finds that it
now has ETag "yyy".
7) Word is closed and an UNLOCK is issued.
8) Through our application we rollback to the version of the document that
has ETag "xxx".
9) A user attempts to reopen the document from the WebDAV using Word. Word
issues a LOCK, then a GET passing an "If-None-Match" header with a value of
"xxx".
10) The server returns 304 as the rollback that "xxx" is still the current
version, but Word displays the EDITED version, the one that was saved and
given an ETag of "yyy".

We are a bit stuck as we can't see what's going on in Word. It is a bit of
a mystery why Word is asking for "xxx" when the latest version is "yyy" as
far as it is concerned. Even so this should work correctly. But it
doesn't.

Apologies for cross-posting, I wasn't sure which newsgroup this fell under.

Alex.
Dec 20 '05 #1
0 1446

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael G. Schneider | last post by:
I just started playing around with WebDAV. The basic configuration is done and works. For example I am able to open a document via HTTP from within Word and save it. What I am really looking for...
1
by: unotin | last post by:
I have an application in ASP that exports to Word using the Response.ContentType method. The application references another ASP page through the img tag that uses a Response.BinaryWrite (of an...
4
by: WJ | last post by:
I have documents written in MS/Word (Doc), Ascii Text, and Adobe Acrobat (PDF) formats. They are of type "Image" stored in SQL server. How do I display these documents to the Asp.Net page ? I...
4
by: Shannon Hardin | last post by:
I'm trying to build a routine that will take a specified file from the user's local hard drive, and copy it to a remote server via WebDAV. I've tried using both HttpWebRequest and FileWebRequest,...
0
by: ASP Developer | last post by:
For some reason when I direct my users to a word document via Response.ContentType = "application/word" the spell check is turned off. Does anyone know which smart tag needs to be mofied to have it...
2
by: David Thielen | last post by:
Hi; I've see this done so I know it's possible. How can I set things up so a user clicks on a rtf file on the website, that launches it in Word where they edit it, and then when they click the...
4
by: Kash | last post by:
Hi everybody: I've developed a web application running on a 2003 server not on the web but on extranet environment of a small Firm (less than 10 users). I've taken benefit of Office Primary...
1
by: =?Utf-8?B?QWxleCBSYWtvdg==?= | last post by:
Hi, I work at a webdav server. And i try to use Word as a webdav client. But I have strange problem. For some files Word sends LOCK command and works with them well. But for others it doesn't do...
2
by: allan.s.palmer | last post by:
Hello, I have an asp.net pop up that is generating a Word document real time and sending it to the user by sending the appropriate response headers. When it is run on our development environment...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.