Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
hebele #1
Member since Jul 2009 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Windows CE problem
Hello there,

I have created a Smart Device Project for Windows CE 5.0 by Visual Studio 2005.
Then I added agsxmpp\agsxmpp\bin\CF2\Release\agsXMPP.dll to my project as a reference.
I have implemented a small application which runs with no problem on Windows.
But when I try running the application on my mobile phone, I get the following Exception after trying to open xmpp connection.

The version of the assembly System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089 cannot be loaded by this version of the Microsoft .NET Compact Framework.
   at agsXMPP.XmppClientConnection.StreamParserOnStreamElement(Object sender, Node e)
   at agsXMPP.Xml.StreamParser.DoRaiseOnStreamElement(Element el)
   at agsXMPP.Xml.StreamParser.EndTag(Byte[] buf, Int32 offset, ContentToken ct, TOK tok)
   at agsXMPP.Xml.StreamParser.Push(Byte[] buf, Int32 offset, Int32 length)
   at agsXMPP.XmppConnection.SocketOnReceive(Object sender, Byte[] data, Int32 count)
   at agsXMPP.net.BaseSocket.FireOnReceive(Byte[] b, Int32 length)
   at agsXMPP.net.ClientSocket.EndReceive(IAsyncResult ar)
   at System.Net.LazyAsyncResult.InvokeCallback(Boolean asyncCompletion)
   at System.Net.Sockets.Socket.WorkerThread.doWork()
   at System.Net.Sockets.Socket.WorkerThread.doWorkI(Object o)
   at System.Threading.ThreadPool.WorkItem.doWork(Object o)
   at System.Threading.Timer.ring()

I will be happy to see any help, thanks already.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
  • do you have the full stacktrace of the exception?
  • can you please post the Xml log if there is any?
  • does the example client for CF work for you?

Alex
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