function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shirley MaglioShirley Maglio 

Visualforce error: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript

Hi,

My visualforce page is generating the following error in IE8:

Message: Access is denied.Line: 67
Char: 338
Code: 0
URI: https://c.na17.visual.force.com/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript?rel=1405565697000

Can anyone give me some pointers as to how to resolve this error?  Any help is greatly appreciated!

Thanks,
Shirley
Andy BoettcherAndy Boettcher
Is this generating an issue for the VF page itself - or is this just an error logged in the JS Console?  Also - can you paste up some code that the error is referencing so we can help further?

(remember to use the "< >" button for better code formatting)
AshwaniAshwani
Hi Shirley,


You are accessing the page using internet expolorer. It is a known issue. You have to overrife the Ajaxrequest with your own code. Ajax has severe connection issues in IE8/IE9.

A4J.AJAX.XMLHttpRequest.prototype._copyAttribute = function (src, dst, attr) {
var value = src.getAttribute(attr);
if (value) {
    try {
        dst.setAttribute(attr, value);
    } catch (err) {
        alert('Error with Salesforce: ' + err.description + '\nattr: ' + attr + '\n');
    }
}


Shirley MaglioShirley Maglio
Hi,

Thank you very much for responding to my question!

Regarding the code which you have shown me, do I put that code exactly as it is into my Visualforce page?

Or do I have to first find out which JavaScript method I need to override?  If yes, then how do I find out?

Shirley