I'm getting an annoying exception: BinaryFormatter Version incompatibility.
Expected Version 1.0. Received Version XXXX
I've looked all over the web and everything that discusses this seems to be
associated with web services. Usually indicating that the code is mismatched
with BinaryFormatter and SOAPFormatter objects. Stressing that if you use a
BinaryFormatter on one side you must use one on the other.
Well, I'm only using binary. And I'm not writing a web service. This is a
WinForms app that tries to use serialization to send objects over a tcp
connection. Everything works fine for a while. Then I get the exception. I
can tell if it has to do with the amount of data sent, or the time running,
or what... Seems to happen randomly.
Any thoughts would be greatly appreciated.