IIS7 Request format is unrecognized.
生活随笔
收集整理的这篇文章主要介绍了
IIS7 Request format is unrecognized.
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
早上同事在安装程序的时候一直报错让我帮忙查一下原因,最后发现是一个网站无法打开。错误报错如下:
错误1:The Web server is configured to not list the contents of thisdirectory.
解决办法:打开IIS控制台兵器启用Directory browsing
错误2:Request format is unrecognized.
解决办法:
找到Web.config文件,增加下面的信息:
<configuration><system.web><webServices><protocols> <add name="HttpGet"/><add name="HttpPost"/> </protocols></webServices></system.web> </configuration>
原因:GET和 POST 在ASP.NET2.0或者之上的版本是默认Disabled,需要更改Web.config启用。
本文转自 lzf328 51CTO博客,原文链接:http://blog.51cto.com/lzf328/1044844
总结
以上是生活随笔为你收集整理的IIS7 Request format is unrecognized.的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: linux ssh连接慢
- 下一篇: Forefront Client Sec