我整合了第三方的XML编辑器进入我们的Web应用程序和保存功能进行直接投放到该文件的Web服务器上的HTTP。IIS 7.5 405方法不允许PUT从StaticFileModule
的OS是R2使用的是IIS 7.5
我们已经安装了一个Web API,所以我们已经移除WebDAV的,也有与更新web.config中的Windows Server 2008:
<remove name="WebDAVModule" /> under modules
<remove name="WebDAV" /> under handlers
我们已经更新了网站的处理程序映射到包括“把”动词:
StaticFile
ExtensionlessUrlHandler-ISAPI-4.0_32bit
ExtensionlessUrlHandler-ISAPI-4.0_64bit
我们仍然准备继续在提琴手以下响应当我们在作曲PUT请求到XML文件:
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Module : StaticFileModule
Notification : ExecuteRequestHandler
Handler : StaticFile
Error Code : 0x80070001
的WebDAV已经拆下 – Shaun