Print Page | Close Window

RTE 3.0 B1 runtime error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=13473
Printed Date: 28 March 2026 at 10:56am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: RTE 3.0 B1 runtime error
Posted By: GerS
Subject: RTE 3.0 B1 runtime error
Date Posted: 22 January 2005 at 4:39pm

I installed the RTE V3.0  Beta 1 version in my site, that is up and running already.
Then modified an existing page that was allright before. The page has a form with a texarea,
 so I put the few lines of code in the form, as states in the install docs.txt.
 
When running on localhost, the page is getting loaded and displaying my form
 and also the RTE icons above the textarea.

At the same time, an error message is displayed:
run time error: access denied , line 60
Then, Microsoft Visual Studio Debugger points to:

file: RTE_javascript.asp
function intiframe()
source error line: 

editor.attachEvent('onkeypress', editorEvents);

I can put some text in the the texarea, emoticons as well.
next:
submitting my form.

results in:
run time error: access denied, line 74


The debugger point again to the last of these three lines:
 
      //get textrea value from RTE and run any original onSubmit events
       textArea.form.onsubmit = function(){
        textArea.value = editor.body.innerHTML;


and for the last time:
run time error, access denied, line 91:


 //unload event so we don't loose the data
 window.onunload = function(){
  textArea.value = editor.body.innerHTML;

(needless to say that my typings in the textarea are not saved in the database; the rest of the form
got saved well !!)

I use IIS V5.1, IE v6.0, XP-PRO
Any suggestions?????



-------------
Ger



Replies:
Posted By: WebWiz-Bruce
Date Posted: 24 January 2005 at 8:26am
It seems like some sort of permissions problem with your browser.

A few things you could try:-

Try changing the permissions to a lwer setting in your browser

If running on a loacl host try disabling anti-virus software as some Internet Security software, like Norton, can prevent JavaScript from running correctly.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: woodlander
Date Posted: 26 January 2005 at 3:59am
I had the same problem and you could say it's some sort of browser problem. I installed the RTE 3.0 Beta 1 on my webbserver and connected it to a access database. On two of  my three computers it worked perfectly but on my home computer I got almost the same error as you, if not the same. I don't have the VS Debugger so I just got a JavaScript error from the browser. Still the end result was the same as GeRs, the text from the textarea didn't got posted in the form, therefore not beeing saved to the database. The rest of the form did.
 
Anyway, I checked what browser version I had on my computers. The computers working well had the same IE version, 6.00.2900.2180, but the home computer did not, version 6.00.2800...something. It turned out that my home computer was not up to date. It lacked a number of security updates and most important of all in this matter, XP Service Pack 2. I installed it and now it works (The IE version is now the same on all three computers). I did a quick check in the securuty settings in IE and there are some new options in the custom settings. Binary & script Behaviours, maybe that has something to do with it.
 
Conclusion is that everybody who visits my page has to have XP SP2, which I guess most has. Still not everybody has it, and that's a problem.


Posted By: WebWiz-Bruce
Date Posted: 26 January 2005 at 5:09am
Thanks woodlander your a legend.

I've been pulling my hair out for days trying to get to the bottom of this problem. see the following topic with 3 pages of trying to workout what's wrong:-

http://forums.webwiz.net/forum_posts.asp?TID=13406&PN=1&TPN=4&FID=17 - http://forums.webwiz.net/forum_posts.asp?TID=13406&PN=1&TPN=4&FID=17

At fist I thought it was Norton or ZoneAlarm, as they both course problems with scripts running, but after many tests I was just coming to the conclusion that it's something to do with a particular version of IE.

It looks like IE6.0.28 suffers from this bug, but IE6.0.29 doesn't.

Some people with SP2 also have this problem, so it looks like going to windows update and getting IE6.0.29 solves the problem as it also happens with IE6.0.28 on Win98.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: woodlander
Date Posted: 26 January 2005 at 5:29am

No problem, glad to help. Smile

I forgot to tell you that the RTE editor didn't show up at all first on on of my computers (with the correct version of IE) but it was Zone Alarm. Tongue 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net