HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
COMException (0x80004005): Unspecified error
Posted by: Jason Nah (---.eburwd8.vic.optusnet.com.au)
Date: Wednesday, 02-May-2007, 15:30:03

Howdy All,

I'm getting a very very strange problem with HtmlEditor... the stack trace looks like this:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
at onlyconnect.HtmlSite.CreateDocument()
at onlyconnect.HtmlEditor.initMshtml()
at onlyconnect.HtmlEditor.OnParentChanged(EventArgs e)
at System.Windows.Forms.Control.AssignParent(Control value)
at System.Windows.Forms.ControlCollection.Add(Control value)

Basically, it's a HtmlEditor control nested on a TabControl page. My question is this... is there any way for me to figure out what went wrong here? Unfortunately, the error message doesn't seem to useful.

Re: COMException (0x80004005): Unspecified error
Posted by: Jason Nah (---.eburwd8.vic.optusnet.com.au)
Date: Wednesday, 02-May-2007, 16:36:15

Incidentally, I'm using the .NET 1.1 supported version.

Re: COMException (0x80004005): Unspecified error
Posted by: Jason Nah (---.eburwd8.vic.optusnet.com.au)
Date: Wednesday, 02-May-2007, 17:16:03

I've also found the 'offending' line of code. It occurs when the HTMLDocument is being instantiated.

Re: COMException (0x80004005): Unspecified error
Posted by: Tim (Moderator)
Date: Friday, 04-May-2007, 17:54:28

Can you post a sample project that demos the error?

Tim



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
tdk76
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.