title: jQuery.ajax() parsererror
body: <p>when i try to get JSON from <a href="http://api-v3.deezer.com/1.0/search/album/?q=beethoven&amp;index=2&amp;nb_items=2&amp;output=json">http://api-v3.deezer.com/1.0/search/album/?q=beethoven&amp;index=2&amp;nb_items=2&amp;output=json</a> with:</p>
  
  <pre><code>(jQuery 1.6.2)
  
  $.ajax({
      type: "GET",
      url: url,
      dataType: "jsonp",
      success: function (result) {
          alert("SUCCESS!!!");
      },
      error: function (xhr, ajaxOptions, thrownError) {
          alert(xhr.statusText);
          alert(xhr.responseText);
          alert(xhr.status);
          alert(thrownError);
      }
  });
  </code></pre>
  
  <p>I get: <code>parsererror; 200; undefined; jquery162******************** was not called</code></p>
  
  <p>but with the JSON from <a href="http://search.twitter.com/search.json?q=beethoven&amp;callback=?&amp;count=5">http://search.twitter.com/search.json?q=beethoven&amp;callback=?&amp;count=5</a> works fine.
  Both are valid JSON formats. So what is this error about?</p>
  
  <p><strong>[UPDATE]</strong></p>
  
  <p>@3ngima, i have implemented this in asp.net, it works fine:</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: "WebService.asmx/GetTestData",
      data: "{}",
      contentType: "application/json; charset=utf-8",
      dataType: "json",
      success: function (result) {
          alert(result.d);
      }
  });
  </code></pre>
  
  <p>WebService.asmx:</p>
  
  <pre><code>[WebMethod]
  public string GetTestData()
  {
      try
      {
          var req = System.Net.HttpWebRequest.Create("http://api-v3.deezer.com/1.0/search/album/?q=beethoven&amp;index=2&amp;nb_items=2&amp;output=json");
          using (var resp = req.GetResponse())
          using (var stream = resp.GetResponseStream())
          using (var reader = new System.IO.StreamReader(stream))
          return reader.ReadToEnd();
      }
      catch (Exception) { return null; }
  }
  </code></pre>