G
Guest
Hi All,
I have an annoying trouble with binary serialization. I have a windows
forms application which works like a server and keeps sending data to its
clients. The data is serialized before being sent using BinaryFormatter and a
serializable object. When using a windows forms application as a client,
everything works just fine and deserialized data can be received intact. When
the client application is is embedded in Internet Explorer (I call it .net
ActiveX), the received data can not be deserialized correctly and I get the
following error:
System.Runtime.Serialization.SerializationException
BinaryFormatter Version incompatibility. Expected Version 1.0. Received
Version 130568.285739008
Note that I'm using exactly the same code I use with the windows forms
application but, the result is completely different. I checked the
serializable object version deployed on the web server and the serializable
object used at the sending point, both are the same. I tried to write the
bytes received to a file stream and it looked normal to me. If someone of you
can help me, I will be very thankful.
Regards
I have an annoying trouble with binary serialization. I have a windows
forms application which works like a server and keeps sending data to its
clients. The data is serialized before being sent using BinaryFormatter and a
serializable object. When using a windows forms application as a client,
everything works just fine and deserialized data can be received intact. When
the client application is is embedded in Internet Explorer (I call it .net
ActiveX), the received data can not be deserialized correctly and I get the
following error:
System.Runtime.Serialization.SerializationException
BinaryFormatter Version incompatibility. Expected Version 1.0. Received
Version 130568.285739008
Note that I'm using exactly the same code I use with the windows forms
application but, the result is completely different. I checked the
serializable object version deployed on the web server and the serializable
object used at the sending point, both are the same. I tried to write the
bytes received to a file stream and it looked normal to me. If someone of you
can help me, I will be very thankful.
Regards