[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

Urgent Help: Problem with WebBrowser Control in Asp.net

Mani

6/23/2007 6:16:00 AM

Hi All,
Greetings!

Am using the WebbrowserControl in Asp.net for my project. I have imported
the needed dll reference like mshtml, axshdocvw and interop etc. But while
accessing some frames(DOM object) using webbrowsercontrol, I got the
following Exception.

Error : 1
======
"Error HRESULT E_FAIL has been returned from a call to a COM component" and

Error:2
=====
"IHTMLDOMNode2_ownerDocument {"Unable to cast COM object of type
'mshtml.HTMLDocumentClass' to interface type 'mshtml.IHTMLDOMNode2'. This
operation failed because the QueryInterface call on the COM component for
the interface with IID '{3050F80B-98B5-11CF-BB82-00AA00BDCE0B}' failed due
to the following error: No such interface supported (Exception from HRESULT:
0x80004002 (E_NOINTERFACE))."} Object"

Any help, greatly appreciated!!
Thanks in Advance

Regards,
Manigandan



1 Answer

(Mattias Sjögren)

6/24/2007 8:28:00 AM

0

>Am using the WebbrowserControl in Asp.net for my project.

Why?


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.n... | http://www.dotneti...
Please reply only to the newsgroup.