Hi everybody,
I am using FCKEditor together with the .NET Control since about a year and it always worked fine. But since IE8 RC1 (and since yesterday evening the final-release too - doesn't matter if on XP or Vista) I get the following javascript error:
Message: Access is denied.
Line: 86
Char: 340
Code: 0
URI: http://mysite/fckeditor/editor/js/fckeditorcode_ie.js
The effect is that the FCKEditor is not shown at all, only a tiny ExpandCollapse-Panel is visible but clicking on that doesn't show the Editor either.
I also updated FCKEditor to the newest version 2.6.4 and the .NET Control to 2.6.3 but the error and effect is still the same.
I also tried to enable / disable Compatibility View for this site, but did not help at all.
Line 86 Char 340 is the following command:
B=this.Document=this._Popup.document;
I really love FCKEditor, but I also need IE8. If this problem is not solvable I have to look for an alternative WYSIWYG-Editor, but I don't really want to go away from FCKEditor...
Any suggestions are welcome. Please help me.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I've been testing it and I haven't seen this problem, so you'll have to provide some info in order to reproduce the problem, but it might turn out that this is another bug in IE8 and now you'll have to suffer it for a very long time.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Good idea, but the problem didn't exist while IE8 was in beta. I realized that problem just yesterday afternoon while I was using RC1. Then I thought by myself that hopefully the final release will fix the problem, but after installing IE8 final I am still facing this problem (even on some other test-clients running XP and IE8 final)...

But don't bother anymore. I'll solve the problem by myself somehow, as I always do...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
If you provide the steps to reproduce the problem then either a bug can be filed to Microsoft and/or a workaround might be found meanwhile.
Either way, you'll need to give us a hint about what's so special in your system that it fails while it's working fine for the rest of the people.
One idea: are you setting the document.domain or using https?
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Good idea! Indeed, I am setting the document.domain on all my pages to get cross-domain-scripting in iframes to work. But I'm not using https.
Do you know where I have to set what to get FCKEditor back to work, even if I set document.domain?
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
My guess is that IE8 is ignoring the document.domain. App I'm developing on works like the following:
fckeditorcode_ie.js hosted at http://apps.foo.com/....
Generic user interface hosted at http://www.foo.com/....
Administrator interface hosted at http://apps.foo.com/....
Both the normal user page and the admin page loosen their document.domain to "foo.com", but for some reason fckeditor works on the admin page, but not on the normal user page.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
For the record, this is the ticket that I've created to track the problem: http://dev.fckeditor.net/ticket/3183
But now the work is focused on CKeditor 3, so it might not be fixed quickly.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Doing some poking around in the source, I notice this above the offending line:
if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};
1) IsIE7 returns true for IE8. Not sure if they re-introduced whatever IE6 "feature" this originally tried to work around.
2) either way though, the domain tightening is considered invalid now (http://ajaxian.com/archives/ie-8-security), so would only cause more errors..
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Figured I'd start getting your guys' feedback before I post it though, incase you have any suggestions for how to make it less disgusting.
The basic idea is that in fckeditor.html, before all the domain lowering takes place, I create a pool of 20 popups for later consumption. As I'm going through the domain loosening place, I hit each of the popups and loosen their domain before loosening the main one. This seems to work, but its slow creating all those 20 popups.
I just guessed at the number 20. It's probably too big, but the fun part is that you have to create them all upfront. Once you change document.domain for fckeditor.html, you can't create any more popups.
Any deterministic way to know ahead of time how many I'll actually need?
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
fckbrowserinfo.js: Add IE8 detection:
fckeditor.html: Create popup pool and set document.domain accordingly:
fckpanel.js: Use the popup pool if IE8, instead of creating new ones:
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Now that's what I call compatible...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I'm not sure I follow. I can't exactly tell each of my users to change their security settings...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
You can put
on your page and ie8 will works like ie7.
It's temporary fix while waiting FCK...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
The relevant bug here is a "security feature". Microsoft considers those an exception to the "act like IE7" rule.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
That does not work.
I have the same problem as described in this thread, and I have the compatible meta tag in my header section.
I still received the error with FCKEditor <> document.domain <> IE8.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I've implemented the code as suggested by vt_mruhlin and it works great in Ie8.
Only one problem, my production site works under HTTPS, and the solution doesn't work there.
Any idea why?
Ofer
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I assume our site works in HTTPS (We have some customers using it, so it would have come up now). Are you fetching the fckeditor scripts via HTTPS as well?
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Did anyone find solution for this error in IE8.Access is denied
B=this.Document=this._Popup.document;
It is not accepting this line
Please check this.
http://stackoverflow.com/questions/1886 ... -object-of
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Any idea.
IE 8 is giving access is denied error.Can anyone help me regarding this.
Please chekc this link also.
viewtopic.php?f=6&t=13378&start=10
And also i am running IE 8, but if i run locally it showing me the version as IE 8, if i run from the domain or web server it is saying IE7. How to overcome this verson problem.
Thanks Rajkumar
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
raj,

The problem with it reporting itself in IE7 is because it's going into "compatibility view mode". Since it's happening only on your server and not on your local environment, you might be on Microsoft's shit listhttp://msdn.microsoft.com/en-us/library/dd567845%28VS.85%29.aspx. Good luck getting your site removed from that
Did you try my hacks from previous posts? Make sure you get the second one, which specifically covers the case you're talking about, of IE8 incorrectly identifying as IE7.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Thanks for your help.Its working now.
what is the reason, (B=this.Document=this._Popup.document;) this code didnt work.
It is because of document.domain? Can you explain me.
Thanks
Raj
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
splendid, man, works fine! just much thanks for help!
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8