Groups | Blog | Home
all groups > vb.net > april 2005 >

vb.net : Deserialization version mismatch


Clark Sann
4/10/2005 10:28:16 PM
I've added a property to one of my classes and now, when I deserialize it I
am getting a version mismatch. How to you add or subtract properties in
classes that are being serialized / desererialized???

Thanks!

Clark

Samuel R. Neff
4/11/2005 12:00:00 AM

Can only do that if you handle the mapping yourself by implementing
ISerializable.

Sam


On Sun, 10 Apr 2005 22:28:16 -0500, "Clark Sann" <csann@earthlink.net>
[quoted text, click to view]

B-Line is now hiring one Washington D.C. area VB.NET
developer for WinForms + WebServices position.
Seaking mid to senior level developer. For
information or to apply e-mail resume to
Rohith
7/5/2005 12:24:02 AM
Samuel,

I am also facing the same problem. I implemented the Iserializable
interface, But the Application sends a Possible Version Mismatch exception.
This exception occurs before the deserialization constructor is called.

Rohith

[quoted text, click to view]
AddThis Social Bookmark Button