Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
ngboonseong #1
Member since Jan 2010 · 19 posts
Group memberships: Members
Show profile · Link to this post
Subject: System.InvalidCastException: Unable to cast object of type 'agsXMPP.Xml.Dom.Element' ...
Hi,

I am getting the following error and can you advise what could go wrong:

System.InvalidCastException: Unable to cast object of type 'agsXMPP.Xml.Dom.Element' to type 'agsXMPP.protocol.Stream'.
   at agsXMPP.XmppConnection.StreamParserOnStreamStart(Object sender, Node e)
   at agsXMPP.XmppClientConnection.StreamParserOnStreamStart(Object sender, Node e)
   at agsXMPP.Xml.StreamParser.StartTag(Byte[] buf, Int32 offset, ContentToken ct, TOK tok)
   at agsXMPP.Xml.StreamParser.Push(Byte[] buf, Int32 offset, Int32 length)

Thanks.

Regards,
Boon Seong
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
can you please post your Xml log an the code which causes this exception?
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS