Getting Error: Incorrect bind status for given command

Apr 6, 2012 at 11:12 AM

Dear Team

I am very happy with your smpp lib. it works fine. But some time, i m getting error when using command mmSession.SendPdu. But after reset it start work fine. can you help why this error raise and how resolve this.

Apr 14, 2012 at 10:46 PM

Dear imran_rq,

Can you submit the error details you are receiving so I can help you. I've faced a lot of bugs in the library and fixed it, so I think I've might bumped in to the same error you are facing and fixed it.

Jul 12, 2012 at 10:19 AM
Edited Jul 12, 2012 at 10:19 AM

I'm also going through the same problem here. "Exception occuredJamaaTech.Smpp.Net.Lib.SmppException: Incorrect bind status for given command"

In this line;


mmSubmitSmResp = mmSession.SendPdu(mmSubmitSm) as SubmitSmResp; // send PDU 

but the system is already binded here. looks like the system was reconnecting while the SendPdu was called. Can you please give us a better advice of handling this.