asp.net-mvc-2 - 在 IIS 7.5 上启用 html PUT 方法

标签 asp.net-mvc-2 web-applications configuration iis-7.5

我在做 iCal 服务 允许日历实例之间的同步并在 上运行出色本地主机 (VS2010 Web Server下)

但现在我托管在 Windows 2008 R2 (IIS 7.5.7600) 我无法创建甚至更新事件 :-o

雷鸟 总是说

alt text

于是我冲进 fiddler 并发现了问题

alt text

405 错误

alt text

那就是不允许 PUT :(

How can I enabled this method? Application Pool? WebSite definition? IIS Settings?

最佳答案

我们只需要删除 WebDav 服务

Control Panel > Program and Features > Turn Windows features on or off



alt text

然后导航到 Server Manager > Roles > Web Server (IIS)等到Roles Services上来。

然后Remove Role Service并删除 WebDAV Publishing
alt text

您需要重启服务器 来完成这个 Action 。

我希望它可以帮助某人

关于asp.net-mvc-2 - 在 IIS 7.5 上启用 html PUT 方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3946283/

相关文章:

asp.net-mvc - ASP.NET MVC 模型与 ViewModel

c# - 为什么卡西尼号对待URI :s with multiple slashes as a Bad Request?

java - 在 WebLogic 中覆盖 302 响应

java - 从 lib 文件夹中的类扩展 WAR 中的抽象类

javascript - 如何构建具有连接数据库的拖放 Web 应用程序?

mysql - VPS 上的 Apache 和 MySQL 安装

asp.net - 升级到 ASP.NET MVC2 后 RenderPartial 损坏

jquery - 使用 jQuery 将复杂的 JSON 对象发送到 Asp.net MVC

java - 以编程方式使用动态用户名和密码配置 Hibernate

database - 为配置选择合适的存储