Reputation: 329
I'm trial http://www.webdavsystem.com/ .Net WebDav Server and having problem direct editing on Word file which always open in read-only mode. (tested with Visio, Excel same problem)
I've tried several things noted in the page http://www.webdavsystem.com/server/prev/v2/documentation/ms_office_read_only
Here are the results
Two things I can't really do by suggestions on the webpage are
My Environment : VS2012 Ultimate ran on Win7 ultimate 6GB Ram (also act as a client pc), Server : Winserver 2012 Std, 2GBRam
Upvotes: 1
Views: 965
Reputation: 1874
LOCK request should reach success for an Office document to be opened for editing (not read-only). This will ensure that the document will not be edited by two or more persons at a time. But in your log file I can see 5 LOCK request and 4 of them failed (with reductions):
[7] [LOCK] /685/test_D47H.doc
User-Agent: Microsoft-WebDAV-MiniRedir/6.1.7601
Timeout: Second-3600
[7] <?xml version="1.0" encoding="utf-8" ?><D:lockinfo xmlns:D="DAV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype><D:owner><D:href>admin</D:href></D:owner></D:lockinfo>
[7] HTTP/1.1 403 Forbidden
X-Env-Version : 4.0.30319.17929 32bit
X-OS-Version : Microsoft Windows NT 6.2.9200.0
X-IIS-Version : Microsoft-IIS/8.0
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
X-Engine : IT Hit WebDAV Server .Net v3.1.869.0 (Evaluation License)
[7] <?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:">
<d:need-privileges>
<d:responsedescription>Not enough privileges</d:responsedescription>
<d:resource>
<d:href>http://webdrive.test.com/685/test_D47H.doc</d:href>
<d:privilege>
<d:write />
</d:privilege>
</d:resource>
</d:need-privileges>
</d:error>
"Not enough privileges" - this means an UnauthorizedAccessException is thrown when trying to create an alternate stream for the file /685/test_D47H.doc. And LOCK request is the only attempt to change this file (all other requests just read its properties).
But later you are creating file /685/test_D47H%20-%20Copy.doc and all the changing requests succeed (like PUT, PROPPATCH, UNLOCK).
This means the file /685/test_D47H.doc is write protected and any new created file - is not.
Upvotes: 1
Reputation: 5904
I examined your log, it looks ok, I did not found any issues.
Microsoft Mini-redirector many cache authentication info. Here is what else you can try:
Clear saved logins using following command:
rundll32.exe keymgr.dll, KRShowKeyMgr
Upvotes: 1