Cannot deserialize the message passed as an argument. Cannot recognize the serialization format.

Feb 26, 2013 at 11:44 AM
Edited Feb 26, 2013 at 11:45 AM
Hi,

I would like to try and find out what type of message formatter is used when I send a message using this library. I have a .NET application taking messages of a MSMQ queue but it does not like my messages:

ERROR: Input._timer_Elapsed : Error occurred in '_timer_Elapsed': System.InvalidOperationException: Cannot deserialize the message passed as an argument. Cannot recognize the serialization format.
at System.Messaging.BinaryMessageFormatter.Read(Message message)
at System.Messaging.Message.get_Body()

Do the messages that are generated by this library use BinaryMessageFormatter or an XML formatter?

Many thanks,
D