400 bad request when calling a WCF service via jQuery/Ajax in a IIS7 server
- by Max
This is what the IIS log says:
2012-12-12 16:35:44 W3SVC1 server001 76.229.32.109 POST /Dashboard/svc/RunJob.svc/RunJob/ExecuteJob
- 80 - 76.229.32.109 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.0;+WOW64;+Trident/4.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.30729;+.NET+CLR+3.5.30729)
ASP.NET_SessionId=poxpqp45rv2m3tuflzckix45 http ://server001/Dashboard/RunJob.aspx server001
400 0 0 2444 1423 1934
I have maxReceivedMessageSize set to a very high number. The weird thing is that the same code works in the lab but it wont work in production.
Both environments (lab and production) are using the same web.config file.
Any ideas?
Thank you