MSAjaxを使用してサーバー上のWebサービスからコンテンツをプルするページがあります。これはほとんどのマシンでうまく機能しますが、特定のマシンのIE8では機能しません。これらのマシンのすべてのプラグインとネット上の他のいくつかの提案を無効にしましたが、何も機能しません。
73行目に「tagNameはオブジェクトではありません」と表示されます。スクリプトのデバッグをオンにすると、次のコードでエラーが発生します。
Sys.Net.XMLHttpExecutor = function Sys$Net$XMLHttpExecutor() {
/// <summary locid="M:J#Sys.Net.XMLHttpExecutor.#ctor" />
if (arguments.length !== 0) throw Error.parameterCount();
Sys.Net.XMLHttpExecutor.initializeBase(this);
var _this = this;
this._xmlHttpRequest = null;
this._webRequest = null;
this._responseAvailable = false;
this._timedOut = false;
this._timer = null;
this._aborted = false;
this._started = false;
this._onReadyStateChange = (function () {
if (_this._xmlHttpRequest.readyState === 4 ) {
try {
if (typeof(_this._xmlHttpRequest.status) === "undefined") {
return;
}
}
catch(ex) {
return;
}
_this._clearTimer();
_this._responseAvailable = true;
try {
_this._webRequest.completed(Sys.EventArgs.Empty);
}
finally {
if (_this._xmlHttpRequest != null) {
_this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
_this._xmlHttpRequest = null;
エラーは最後のfinally行にあります。