Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 11 years ago

#1027 closed bug (wontfix)

IE error: Automation server can't create object ... when ActiveX disabled

Reported by: rbygrave Owned by:
Priority: minor Milestone: 1.1.3
Component: ajax Version: 1.1.2
Keywords: ie activex disabled Cc:
Blocked by: Blocking:


If you are using an IE Browser that has ActiveX disabled then jQuery ajax requests will throw a javascript error "Automation server can't create object".

My workaround (for my situation) is to detect this situation with something like...

function isAjaxEnabled() {

try {

var test = new XMLHttpRequest();

do not need to use ActiveXObject as this has already been assigned to XMLHttpRequest.

return true;

} catch (ex) {

return false;



Another approach would be to support ajax via an iframe?

Change History (1)

comment:1 Changed 16 years ago by john

Resolution: wontfix
Status: newclosed

This is correct. If ActiveX is disabled, then Ajax requests won't work - and there will be nothing to fall back to. Throwing an exception seems applicable in this instance.

Note: See TracTickets for help on using tickets.