Hi,
I have a problem sending messages between message queues. The sending of the messages is done using the automation of NAV2009 R2 (Classic). The receiving is done by .NET variables in NAV2016. I currently receive the send messages in my queue, but when I try to read them from NAV 2016 I keep getting the same error: "Cannot recognize the serialization format".
I have tried "System.Messaging.ActiveXMessageFormatter" and "System.Messaging.XmlMessageFormatter" but no luck.
Does anybody has an idea on how to continue?
![nfjorn8kqbsk.png]()
The code that is execute:
Regards,
Tom
I have a problem sending messages between message queues. The sending of the messages is done using the automation of NAV2009 R2 (Classic). The receiving is done by .NET variables in NAV2016. I currently receive the send messages in my queue, but when I try to read them from NAV 2016 I keep getting the same error: "Cannot recognize the serialization format".
I have tried "System.Messaging.ActiveXMessageFormatter" and "System.Messaging.XmlMessageFormatter" but no luck.
Does anybody has an idea on how to continue?

The code that is execute:
QMsg := Q.Receive(TS.TimeSpan(0,0,10)); QMsg.Formatter := QBinaryFormatter.BinaryMessageFormatter; CLEAR(myVariant); myVariant := QMsg.Body;
Regards,
Tom