Deserialization version mismatch

  • Thread starter Thread starter Clark Sann
  • Start date Start date
C

Clark Sann

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
 
Can only do that if you handle the mapping yourself by implementing
ISerializable.

Sam


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

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
sam_blinex_com.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top