kythyria / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

console application error code 715 9 #169

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Settings.SerializationType = MSNPSharp.IO.MclSerialization.None;
            messenger.Credentials = new Credentials(email, passwod,     
MsnProtocol.MSNP18);
            messenger.Nameserver.BotMode = true;
            messenger.Nameserver.AutoSynchronize = false;
            messenger.Connect();
2.run the console application
3.the messenger auto logout...why

NSMessageProcessor: Parsing incoming NS command...
NSMessageProcessor: Dispatching incoming NS command: PRP 8 MFN 10000%E5%8F%
B7

NSMessageProcessor: Parsing incoming NS command...
NSMessageProcessor: Dispatching incoming NS command: 715 9

A server error occurred
Error Code: 715
Error Description: NotExpected
NSMessageProcessor: Disconnected
NSMessageProcessor: Outgoing message:

What version of the product are you using? (MSNPSharp, OS, Mono etc.)
3.01

Please provide any additional information below:

Original issue reported on code.google.com by shapenl...@gmail.com on 2 Dec 2009 at 3:36

GoogleCodeExporter commented 9 years ago
thanks alot

Original comment by shapenl...@gmail.com on 2 Dec 2009 at 3:46

GoogleCodeExporter commented 9 years ago
i remove 

messenger.Nameserver.BotMode = true;

and the program is ok...

version 3.01 don't support the bot mode???

Original comment by shapenl...@gmail.com on 2 Dec 2009 at 4:33

GoogleCodeExporter commented 9 years ago
by the way..

when remote msn client open a switchboard...msnpsharp throw a 
nullreferenceexception..
at
NSMessageHandler.cs line 1621  and line 3172 

Original comment by shapenl...@gmail.com on 2 Dec 2009 at 4:52

GoogleCodeExporter commented 9 years ago
NSMessageProcessor: Parsing incoming NS command...
NSMessageProcessor: Dispatching incoming NS command: UBN 
test@hotmail.com;{849f54c2-
db5f-4a1e-b901-061fba516445} 3 44
XAUserQuery<|<USER><FLAG>112</FLAG></USER>|>
NSMessageHandler: MSNPSharp.ExceptionEventArgs
NSMessageProcessor: Outgoing message:
PNG

Original comment by shapenl...@gmail.com on 2 Dec 2009 at 5:32

GoogleCodeExporter commented 9 years ago
Are you sure you are using a provisioned account? Not all accounts can use bot 
mode.

Original comment by freezing...@gmail.com on 2 Dec 2009 at 7:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
thank you for your anwser!

My account is an ordinary account, I think maybe for this reason.

when remote msn client open a switchboard...msnpsharp throw a 
nullreferenceexception..
at
NSMessageHandler.cs line 1621  and line 3172 

the trace information :
NSMessageProcessor: Parsing incoming NS command...
NSMessageProcessor: Dispatching incoming NS command: UBN 
test@hotmail.com;{849f54c2-
db5f-4a1e-b901-061fba516445} 3 44
XAUserQuery<|<USER><FLAG>112</FLAG></USER>|>
NSMessageHandler: MSNPSharp.ExceptionEventArgs
NSMessageProcessor: Outgoing message:
PNG

Original comment by shapenl...@gmail.com on 2 Dec 2009 at 9:13

GoogleCodeExporter commented 9 years ago
Please check out the source in SVN and try again, line 1621 in 
NSMessageHandler.cs 
is a comment line. Please provide valid info when you post an issue.

Original comment by freezing...@gmail.com on 3 Dec 2009 at 8:50

GoogleCodeExporter commented 9 years ago
check out and fixed..

thank you!

Original comment by shapenl...@gmail.com on 4 Dec 2009 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by freezing...@gmail.com on 4 Dec 2009 at 4:45