IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed
来源:互联网 发布:scientific linux 吧 编辑:程序博客网 时间:2024/06/06 20:17
WebDAV 是超文本传输协议 (HTTP) 的一组扩展,为 Internet 上计算机之间的编辑和文件管理提供了标准.利用这个协议用户可以通过Web进行远程的基本文件操作,如拷贝、移动、删除等。在IIS 7.0中,WebDAV是作为独立扩展模块,需要单独进行下载,而IIS 7.5中将集成WebDAV,然而WebDav把Put,Delete给咔嚓了。所以在IIS 7.5上部署的RESTful服务(WCF Data Service,WCF Rest Service,ASP.NET Web API,ASP.NET MVC)就悲剧了,当发送Put请求就会发生HTTP Error 405.0 – Method Not Allowed错误,解决方法也很简单,在Web.config里面加入如下设置:
<system.webServer>
<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers>
</system.webServer>
http://www.cnblogs.com/shanyou/archive/2012/03/23/2414252.html
0 0
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- IIS7.5上的REST服务的Put,Delete操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- 解决IIS7 HTTP/405 Method Not Allowed 问题的方法.
- 解决IIS7 HTTP/405 Method Not Allowed 问题的方法.
- IIS7.5发布之后对PUT接口进行请求,提示“Remote server returned error: (405) method not allowed"
- WebApi HTTP Put 405 Method not allowed
- [环境搭建]-Web Api搭建到IIS服务器后PUT请求返回HTTP Error 405.0 - Method Not Allowed 解决方法
- nginx中HTTP/1.1 405 Method not allowed 的解决方法
- 405 Method Not Allowed on ajax PUT
- urllib2.HTTPError: HTTP Error 405(Method Not Allowed)
- HTTP 405Method not allowed
- HTTP 错误 405.0 - Method Not Allowed 无法显示您正在查找的页面,因为使用了无效方法(HTTP 谓词)。
- HTTP 405 错误--Method not allowed
- sicily1031-Campus(单源最短路径dijkstra)
- 10、RTC实时时钟实验
- hdu 2586 How far away ?(LCA离线)
- SQL2043N 与 linux的randomize_va_space特性
- sgu170:Particles
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed
- 管理员权限、进程权限与UAC
- 【Leetcode】Reorder List
- XML解析
- Java—String与StringBuffer的区别
- thinkphp3.2的模板渲染LAYOUT_ON,特定文件不加载公共文件
- jquery实现的固定位置下拉隐藏上拉显示悬浮导航菜单特效
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Win
- python自动化运维学习笔记1- psutil系统性能信息模块