Manish
Manish

Reputation: 301

Could not complete the operation due to error c00ce56e IN ALL IE VERSION

I have used ajax functionality for pagination.This functionality is working fine in other browser(FF,CHROME) accept IE BROWSER.I am getting error for this following line as Error on this line .

Thanx in Advance

if (req) {
  var th = this;
  req.onreadystatechange = function() {
    var s = req.readyState;
    if (s == 4) {
      // Avoid memory leak by removing closure.
      req.onreadystatechange = th.dummy;
      // Remove possible junk from response.
      var responseText = req.responseText;//Error on this line
      try {
        // Call associated dataReady().
        eval(responseText);
      } catch (e) {
        Subsys_JsHttpRequest_Js.dataReady(id, "JavaScript code generated by backend is invalid!\n"+responseText, null);
      }
    } else {
      th.readyState = s;
      if (th.onreadystatechange) th.onreadystatechange()
    }
  };

  this._id = id;
}

Upvotes: 4

Views: 1757

Answers (1)

John Green
John Green

Reputation: 13435

As per Microsoft's description of the error message as one related to encoding, set appropriate encoding on the AJAX output on the server side.

Upvotes: 3

Related Questions