Click to See Complete Forum and Search --> : Unable to cast COM object of type 'System.__ComObject' to interface type 'System.ICon


TimTree
04-18-2007, 10:43 AM
I am currently messing around with a .NET method that creates a SOAP(XML) message and sends it off.
However i am receiving a an error message which I have no idea how to solve.

The code below is ran :-

Try
Reader = New SoapReader
Reader.Load(Connector.OutputStream)

parseResponse = Convert.ToInt32(Reader.DOM.parseError)

at the point of the parseResponse line I get the following error:-

Unable to cast COM object of type 'System.__ComObject' to interface type 'System.IConvertible'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{805E3B62-B5E9-393D-8941-377D8BF4556B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).



Any Ideas what this is guys ?

Thanks
Tim.