title: Invalid Response Format Posting to ASMX from jQuery
body: <p>"Error 500: Invalid Response format"</p>
  
  <p>I looked around stack overflow, and found a few solutions but none applied to me.</p>
  
  <p>So I've got a webservice, <a href="http://Komputerz4Kidz.com/mailer/Service1.asmx/SendMail" rel="nofollow">http://Komputerz4Kidz.com/mailer/Service1.asmx/SendMail</a> is the URL. It is an exact replica, save for the namespace and a variable or two, of a script I threw together to send mail via jQuery using POST.</p>
  
  <p>The example works on another site and is hosted from the same server. It's got it's own application pool in IIS, and that is setup properly to .NET 4.0 integrated.</p>
  
  <p>It's very simple, not a lot going on here:</p>
  
  <pre><code>function ContactSubmit() {
  var Name = $('input:text[name=pickup_name]').val();
  var Email = $('input:text[name=pickup_email]').val();
  var Message = $('textarea[name=pickup_message]').val();
  var PickupDate = $('input:text[name=pickup_date]').val();
  $.ajax({
  
  type: "POST",
  url: "http://Komputerz4Kidz.com/mailer/Service1.asmx/SendMail",
  data: {
  _name: Name,
  _email: Email,
  _message: Message,
  p_date: PickupDate},
  
  success: ContactSuccess,
  
  error: function (x, y, z) {console.log(x);console.log(y);console.log(z);alert('ERROR');}
  </code></pre>
  
  <p>WEB SERVICE WORKS FINE FROM SERVER AND FUNCTIONS 100% when from the server I run:</p>
  
  <p>komputerz4kidz.com/mailer/service1.asmx?op=SendMail</p>
  
  <p><strong>Live example: www.Komputerz4Kidz.com contact form bottom left of page</strong></p>
  
  <p>Thanks!</p>