Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


i am trying to POST data in a MVC 3 application to a server running IIS 7 using jquery ajax.

When i post normally to the server, everything works ok, just when i post with ajax the server returns a 400 Bad request.

I already ran a trace on such a request but all i got from that was the following:

HttpReason="Bad Request",
ErrorCode="The operation completed successfully. (0x0)",

Can anyone point me into the right direction to solve this issue? Thanks

share|improve this question
up vote 0 down vote accepted

I've seen this once before. Wish I could remember the details. It required a setting change or a hotfix IIRC.

Here's one search result that has a fix although that doesn't ring a bell as the same issue I saw before:

Here's another good lead:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.