htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons:
Big word documents problem


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


funone
New User

Jul 20, 2004, 6:27 AM

Post #1 of 8 (4542 views)
Shortcut
Big word documents problem Can't Post

Hello. Thanks for making this editor availalke for the public. Luis' Word Cleaner onPaste is simply fantastic. Where Dreamweaver MX chokes on cleaning up big documents with word-specific tags, Luis addon gives it a thorough thought and then cleans the dokument nicely. Truly amazing!

However, I have this problem with big word documents. I manage to send (action is post, yes) about 15 pages of heavily formatted word text, but more than that and I get the following error:

error '80020009'

Exception occurred.

I guess it could be an issue with the (Access) database receiving & storing the text. The text is sent to a memo field. I choose to see html, copy all into word and see that the amount of characters is 141.591 which is more than double of the amount a memo field is supposed to take (65.535 characters). Is this my problem? I read that programmatically filled, a memo field should manage up to 2 Gb of data. I also read that Luis confirms to have managed to post very large documents (about 60-70 MS-Word pages in one shot).

Could it be that http as a protocol don't manage to upload more than a given amount of kilobytes? Do I need for example som component like AspUpload?


eisa
User

Jul 20, 2004, 5:15 PM

Post #2 of 8 (4527 views)
Shortcut
Re: [funone] Big word documents problem [In reply to] Can't Post

Normally this error indicates that your connection failed. What connection are you using? I don't see what AspUpload could do to improve this.? You are just copying your Word-text into HTMLArea, or are you using the ActiveX-function?

I just did a test myself with a document with 151 000 charachters (175 000 if you count spaces). The Access memo-field was able to store this text when I saved it without formatting in HTML-view, and also in WYSIWYG-view. Only when I tried to clean heavily formatted document my browser freezed.

If you think this error occours because of timeout, you could try to use this code: <% Server.ScriptTimeout = 600%>

http://www.savio.no/htmlarea/example.asp | Webdesign


funone
New User

Jul 21, 2004, 2:41 AM

Post #3 of 8 (4515 views)
Shortcut
Re: [eisa] Big word documents problem [In reply to] Can't Post

Hi Eisa, thanks for your answer. <% Server.ScriptTimeout = 600%> doesn't help me. The error code in whole is:

error '80020009'
Exception occurred.

/intratest/ny_nyhet.asp, line 56

..and on that line 56 in the asp page there is this block of code (generated by the Dreamweaver insert record behaviour):

' set the form values
For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i))) //<-This is the line 56
NextText

Up to 15 pages of this word text works, if I paste in more than that then I get this error.

If I insert by other code generated by an other program then I don't get this error but a server timeout, but I see that almost the whole text is getting uploaded. This I could cope with, but I can't use this generated code as the license for this program is trial. I wish I could asp a little better and handcode this into-statement but I can't. Unsure



eisa
User

Jul 21, 2004, 5:30 AM

Post #4 of 8 (4509 views)
Shortcut
Re: [funone] Big word documents problem [In reply to] Can't Post

Hm. I often use Dreamweaver-generated ASP-code myself because it's a time-saver. It was actually Dreamweaver-generated ASP-code that I used in my test.

I did copy the text from Word and the paste it into HTMLArea. Are you doing this also, or are you using a different method since you are using the word "uploaded"?

Since this error normally is caused by a connection-error, what is your connection-string? Are you using Access-driver or OLEDB-driver? If you are using a Access-driver, try OLEDB-driver instead. You will find it here: http://www.connectionstrings.com/

http://www.savio.no/htmlarea/example.asp | Webdesign


funone
New User

Jul 21, 2004, 6:24 AM

Post #5 of 8 (4502 views)
Shortcut
Re: [eisa] Big word documents problem [In reply to] Can't Post

Hello again Eisa, hur är vädret i Norge ;-)?

I tried changing the connection to OLEDB, but it still gives the exact same error. I also tested on another server with dsn made on the server but still I got the same error:

error '80020009'
Exception occurred.

/intratest/ny_nyhet.asp, line 56



I also copy - pasted the text straight into the HTMLArea and hit submit, my use of the word "Upload" was misleading.

I posted a support request to the folks at Macromedia Support, maybe they can help. In that case I'll let you know by posting the solution here.


eisa
User

Jul 22, 2004, 2:08 PM

Post #6 of 8 (4466 views)
Shortcut
Re: [funone] Big word documents problem [In reply to] Can't Post

Hello funone, været var bra i går, nå blir det snart regn igjen. (Sukk).

I don't know what the problem could be then, hopefully you get some good answer from Macromedia. By the way, have you implemented the function for better HTML? If you haven't, or are struggeling with implement the code together with the ASP-code produced by Dreamweaver, just let me know, I have done it.

http://www.savio.no/htmlarea/example.asp | Webdesign


funone
New User

Jul 22, 2004, 2:24 PM

Post #7 of 8 (4465 views)
Shortcut
Re: [eisa] Big word documents problem [In reply to] Can't Post

Regnar strax här (i södra Finland) nu.

Hello again. I'm not sure what you mean by better html? Blush


eisa
User

Jul 23, 2004, 4:29 AM

Post #8 of 8 (4428 views)
Shortcut
Re: [funone] Big word documents problem [In reply to] Can't Post

With better HTML i mean this:

HTMLArea version 2.* are creating bad HTML. Example:

<IMG SRC=imagename.jpg ALT=Some alt-text>

All HTML-codes should be written in lower-case, quotes should be used, and if you are aiming for XHTML (stricter HTML) all tags should be closed. If you implement the code found here:
http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v2.0_-_Add-Ons_F19/ASP%3A_From_HTML_to_XHTML_-_better_code_with_version_2.%2A_P31577/

it will automatically rewrite your HTML-codes into this:
<img src="imagename.jpg" alt="Some alt-text" />

http://www.savio.no/htmlarea/example.asp | Webdesign

 
 
 


Search for (options)