title: Asp.net MVC - Jquery $.ajax error callback is not returning responseJSON
body: <p>I have the code below, with works fine on the development machine but not when called from a remote browser...</p>
  
  <pre><code>$.ajax({
    type: 'POST',
    url: '@Url.Action("Action", "Controller")',
    data: { id: id },
    dataType: 'json',
    async: true,
    success: function (data) {
    },
    error: function (jqXHR, status, err) {
      var result = jqXHR.responseJSON;
    }
  });
  </code></pre>
  
  <p>The jqXHR.responseJSON object works when calling from localhost but not when the call is made from a remote computer, it's returned as undefined... 
  Could somebody help me?
  Thanks in advance!</p>
  
  <p><a href="https://i.stack.imgur.com/XbnkP.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/XbnkP.jpg" alt="enter image description here"></a></p>