#2849 closed bug (fixed)
AjaxSettings.xhr Automation error on IE6
Reported by: | dingzhener | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | ajax | Version: | 1.4a2 |
Keywords: | Automation error | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
My test ie6 version is 6.0.2900.2180.xpsp_sp2_gdr.070227-2254
when i do this:
$.get("/IndexAction.do",function(txt){ alert(txt); }
ie thorw then Automation error
when i search in jquery-1.2.3,i found this
var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
then i modify it:
try { var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); } catch(e) { try { xml=new ActiveXObject("MSXML2.XMLHTTP"); } catch(e2) { try { xml=new ActiveXObject("MSXML3.XMLHTTP"); } catch(e3) { alert("It's all error"); } } }
Change History (8)
comment:1 Changed 15 years ago by
Component: | core → ajax |
---|---|
need: | Patch → Test Case |
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 14 years ago by
comment:4 Changed 14 years ago by
That might happen if the COM registration for Microsoft.XMLHTTP
was damaged or missing in the system registry. Any reasonably updated copy of Windows (e.g., XP Service Pack 2 or greater) should work fine with what is there. Since the original reporter mentioned IE6, it's likely the system isn't very well updated.
comment:5 Changed 13 years ago by
Summary: | Automation error → AjaxOptions.xhr Automation error on IE6 |
---|
comment:6 Changed 13 years ago by
Summary: | AjaxOptions.xhr Automation error on IE6 → AjaxSettings.xhr Automation error on IE6 |
---|
comment:7 Changed 13 years ago by
Milestone: | 1.2.4 → 1.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.2.3 → 1.4a2 |
Note: See
TracTickets for help on using
tickets.
Could you provide more details about your IE setup, specifically surrounding your security settings?