PUT请求BadRequest错误。 [英] PUT Request BadRequest error.

查看:166
本文介绍了PUT请求BadRequest错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的PUT数据超过65 Kb时,我的IIS 7.5会返回BadRequest。

When I am PUT data more than 65 Kb my IIS 7.5 return me BadRequest.

我尝试设置

< httpRuntime   maxRequestLength = " 102400 "   />

<httpRuntime maxRequestLength="102400" />

并尝试

 <security>
		  <requestFiltering>
			  <requestLimits maxAllowedContentLength="2147483648" maxQueryString="2147483648"  maxUrl="2147483648"/>
		  </requestFiltering>
	  </security>

这对我没有帮助。

我使用WCF与 aspNetCompatibilityEnabled = " true"

I am use WCF with aspNetCompatibilityEnabled = "true"

推荐答案

您好,

请看一下 在以下博客文章中讨论了这个问题:

Please take a look  at the following blog post that talks about this issue:

http://blogs.msdn.com/b/phaniraj/archive /2008/10/06/astoria-iis-http-400-bad-request-on-posting-large-payloads-to-an-astoria-service.aspx

 

希望这会有所帮助!

Monica


这篇关于PUT请求BadRequest错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆