WebDAV只能在一台机器上运行?

时间:2014-08-13 11:30:27

标签: webdav ithit-webdav-server

我已在公司网站上实施了IT Hits WebDAV服务器。我们目前正在使用试用许可证开发该产品,该产品将于2014年9月7日星期日到期。

我已经设法在我的本地版本上运行一个工作原型,并将其检入我们公司的TFS服务器。

它在我的机器上完美运行,当人们通过网络连接到我的电脑时,它也能正常工作。

然而,当我的经理得到最新的并在他的本地机器上测试新的编辑功能时,它将无法工作。我检查了错误日志没有错误。

  

我的主要问题是WebDAV服务器的试用版是否有效   在一台机器上?是一些如何检测许可证在哪台机器上处于活动状态并将其限制在此机器上。

如果许可证可以在多台计算机上运行,​​您是否有任何建议可以帮助调试此问题?

以下日志来自无效的机器:

   [5] ----------------- Started: 13/08/2014 10:42:29 -----------------
[5] [OPTIONS] /DAV/cdef1072-d16a-4e42-a87c-301ded0b96c0/fcf65118-e733-40f6-807b-cdcde0e47df4/
Connection: Keep-Alive
Cookie: username=adrian
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
X-MSGETWEBURL: t
X-IDCRL_ACCEPTED: t

[5] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
DAV : 1, 2, 3
Allow : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Public : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Accept-Ranges : bytes
MS-Author-Via : DAV

[5] ----------------- Finished: 13/08/2014 10:42:33 Took 3828ms--------

[45] ----------------- Started: 13/08/2014 10:42:33 -----------------
[45] [HEAD] /DAV/cdef1072-d16a-4e42-a87c-301ded0b96c0/fcf65118-e733-40f6-807b-cdcde0e47df4/cbbh.docx
Connection: Keep-Alive
Cookie: username=adrian
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
X-IDCRL_ACCEPTED: t

[45] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
Content-Type : application/vnd.openxmlformats-officedocument.wordprocessingml.document
Last-Modified : Mon, 01 Jan 0001 00:00:00 GMT
Content-Length : 11231

[45] ----------------- Finished: 13/08/2014 10:42:34 Took 1234ms--------

[49] ----------------- Started: 13/08/2014 10:42:35 -----------------
[49] [OPTIONS] /DAV/cdef1072-d16a-4e42-a87c-301ded0b96c0/fcf65118-e733-40f6-807b-cdcde0e47df4/
Connection: Keep-Alive
Cookie: username=adrian
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
X-IDCRL_ACCEPTED: t

[49] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
DAV : 1, 2, 3
Allow : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Public : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Accept-Ranges : bytes
MS-Author-Via : DAV

[49] ----------------- Finished: 13/08/2014 10:42:36 Took 1234ms--------

下面的日志来自我的工作版本:

[60] ----------------- Started: 13/08/2014 12:15:10 -----------------
[60] [OPTIONS] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/
Connection: Keep-Alive
Cookie: username=mark
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
X-MSGETWEBURL: t
X-IDCRL_ACCEPTED: t

[60] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
DAV : 1, 2, 3
Allow : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Public : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Accept-Ranges : bytes
MS-Author-Via : DAV

[60] ----------------- Finished: 13/08/2014 12:15:10 Took 640ms--------

[48] ----------------- Started: 13/08/2014 12:15:10 -----------------
[48] [HEAD] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/Test%20Document.docx
Connection: Keep-Alive
Cookie: username=mark
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
X-IDCRL_ACCEPTED: t

[48] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
Content-Type : application/vnd.openxmlformats-officedocument.wordprocessingml.document
Last-Modified : Mon, 01 Jan 0001 00:00:00 GMT
Content-Length : 11323

[48] ----------------- Finished: 13/08/2014 12:15:11 Took 453ms--------

[54] ----------------- Started: 13/08/2014 12:15:11 -----------------
[54] [OPTIONS] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/
Connection: Keep-Alive
Cookie: username=mark
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
X-IDCRL_ACCEPTED: t

[54] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
DAV : 1, 2, 3
Allow : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Public : COPY, DELETE, GET, HEAD, LOCK, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK
Accept-Ranges : bytes
MS-Author-Via : DAV

[54] ----------------- Finished: 13/08/2014 12:15:12 Took 468ms--------

[45] ----------------- Started: 13/08/2014 12:15:12 -----------------
[45] [LOCK] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/Test%20Document.docx
Cache-Control: no-cache
Connection: Keep-Alive
Pragma: no-cache
Content-Length: 220
Content-Type: text/xml; charset="utf-8"
Cookie: username=mark
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
Translate: f
Timeout: Second-3600
X-IDCRL_ACCEPTED: t

[45] <?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>ORCHIDSOFT\Danial.Westmorland</D:href></D:owner></D:lockinfo>
[45] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
Lock-Token : <opaquelocktoken:94cd8ec7-b26e-4c14-9507-f6231a1812be>
Content-Type : application/xml; charset=utf-8

[45] <?xml version="1.0" encoding="utf-8"?>
<d:prop xmlns:d="DAV:">
  <d:lockdiscovery>
    <d:activelock>
      <d:locktype>
        <d:write />
      </d:locktype>
      <d:lockscope>
        <d:exclusive />
      </d:lockscope>
      <d:depth>infinity</d:depth>
      <d:locktoken>
        <d:href>opaquelocktoken:94cd8ec7-b26e-4c14-9507-f6231a1812be</d:href>
      </d:locktoken>
      <d:timeout>Second-28799</d:timeout>
      <d:owner>ORCHIDSOFT\Danial.Westmorland</d:owner>
      <d:lockroot>
        <d:href>https://localhost:443/DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/Test%20Document.docx</d:href>
      </d:lockroot>
    </d:activelock>
  </d:lockdiscovery>
</d:prop>
[45] ----------------- Finished: 13/08/2014 12:15:13 Took 844ms--------

[64] ----------------- Started: 13/08/2014 12:15:13 -----------------
[64] [GET] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/Test%20Document.docx
Connection: Keep-Alive
Content-Type: text/xml; charset="utf-8"
Cookie: username=mark; 88b20e20-4b54-4be9-ab03-4b434b9e4d1f=1001
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
Translate: f
Depth: 0
X-IDCRL_ACCEPTED: t

[64] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
Content-Length : 11323
Accept-Ranges : bytes
Content-Type : application/vnd.openxmlformats-officedocument.wordprocessingml.document
Last-Modified : Mon, 01 Jan 0001 00:00:00 GMT

[64] ----------------- Finished: 13/08/2014 12:15:13 Took 500ms--------

[83] ----------------- Started: 13/08/2014 12:15:14 -----------------
[83] [PROPFIND] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/Test%20Document.docx
Cache-Control: no-cache
Connection: Keep-Alive
Pragma: no-cache
Content-Length: 208
Content-Type: text/xml; charset="utf-8"
Cookie: username=mark; 88b20e20-4b54-4be9-ab03-4b434b9e4d1f=1001
Host: localhost
User-Agent: Microsoft Office Word 2013 (15.0.4631) Windows NT 6.2
Translate: f
Depth: 0
X-IDCRL_ACCEPTED: t

[83] <?xml version="1.0" encoding="utf-8" ?><D:propfind xmlns:D="DAV:" xmlns:Office="urn:schemas-microsoft-com:office:office"><D:prop><D:creationdate/><D:getlastmodified/><Office:modifiedby/></D:prop></D:propfind>
[83] HTTP/1.1 207 Multi-Status
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
Content-Type : application/xml; charset=utf-8

[83] <?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:">
  <d:response>
    <d:href>https://localhost:443/9917c323-7aae-4d06-8ebe-7349f9dd4c23</d:href>
    <d:propstat>
      <d:status>HTTP/1.1 200 OK</d:status>
      <d:prop />
    </d:propstat>
    <d:propstat>
      <d:status>HTTP/1.1 404 Not Found</d:status>
      <d:prop>
        <modifiedby xmlns="urn:schemas-microsoft-com:office:office" />
      </d:prop>
      <d:responsedescription>Property was not found</d:responsedescription>
    </d:propstat>
  </d:response>
</d:multistatus>
[83] ----------------- Finished: 13/08/2014 12:15:14 Took 579ms--------

[45] ----------------- Started: 13/08/2014 12:15:15 -----------------
[45] [HEAD] /DAV/07f23d4c-7b7c-4018-921b-18bb3f469f0d/eff37f65-4266-4f00-9993-5529d8d9edaf/Test%20Document.docx
Connection: Keep-Alive
Content-Length: 0
Cookie: username=mark
Host: localhost
User-Agent: Microsoft Office Existence Discovery
X-IDCRL_ACCEPTED: t

[45] HTTP/1.1 200 OK
X-Env-Version : 4.0.30319.34014 64bit
X-OS-Version : Microsoft Windows NT 6.3.9600.0
X-IIS-Version : Microsoft-IIS/8.5
X-Worker-Request : System.Web.Hosting.IIS7WorkerRequest
Access-Control-Allow-Origin : *
Access-Control-Allow-Credentials : true
Access-Control-Allow-Methods : ACL, CANCELUPLOAD, CHECKIN, CHECKOUT, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, UNCHECKOUT, UNLOCK, UPDATE, VERSION-CONTROL
Access-Control-Allow-Headers : Overwrite, Destination, Content-Type, Depth, User-Agent, Translate, Range, Content-Range, Timeout, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Location, Lock-Token, If
Access-Control-Expose-Headers : DAV, content-length
Access-Control-Max-Age : 2147483647
X-Engine : IT Hit WebDAV Server .Net v3.7.1780.0 (Evaluation License)
Content-Type : application/vnd.openxmlformats-officedocument.wordprocessingml.document
Last-Modified : Mon, 01 Jan 0001 00:00:00 GMT
Content-Length : 11323

[45] ----------------- Finished: 13/08/2014 12:15:16 Took 438ms--------

2 个答案:

答案 0 :(得分:0)

我终于找到了问题。

当我检查PC上的IIS服务器无法正常工作时,我注意到WebDAV Authoring Rules是一个已安装的功能。然后我检查了我的电脑,但没有安装。

http://i2.iis.net/media/7427780/installing-and-configuring-webdav_webdav_home_pane3.jpg?cdn_id=2012-08-15-001

一旦我删除它,它对我有用。

我通过在记事本中创建以下.cmd文件来删除它:

start dism.exe /online /disable-feature /featurename:IIS-WebDAV

答案 1 :(得分:-2)

所有IT Hit产品,包括用于.Net的IT Hit WebDAV Server Engine都是完全正常运行的,没有任何限制。它应该适用于任何机器和多台具有试用许可证的机器。

请在此处查看如何将WebDAV Server Engine附带的示例服务器部署到IIS:How to Configure Your WebDAV Server in IIS。 尽管每个WebDAV服务器都有自己的细节,但本指南可能不适用于您的情况,但有助于理解典型的部署方案和安全配置。

以下是一些关于如何理解出错的建议:

  1. 使用Fiddler工具或任何其他调试检查WebDAV请求 代理。所有到达WebDAV服务器引擎的请求都是 记录,如果请求在命中引擎之前失败,则不会 在日志中看到它。通常,如果请求失败,就会发生这种情况 认证阶段。

    请注意,要在'localhost'上使用Fiddler捕获请求,您必须这样做 连接时使用'localhost.fiddler'而不是'localhost' 服务器,例如:http://localhost.fiddler:1234

  2. 运行Ajax集成测试。只需使用Visual Studio创建一个WebDAV项目即可获得测试页面。在测试页面上直接指定WebDAV服务器的URL。有没有失败的测试?

  3. 排除任何客户端问题。可能存在问题 您正在使用的客户端软件,包括Microsoft miniredirector。尝试从任何其他计算机访问服务器。要得到 如果问题是在客户端或服务器端的想法也尝试 在ajaxbrowser.com上重现该问题。