SerializationException

D

Don Gollahon

I have an app that is in .NET 2.0 C#. But it uses components for .NET
1.1 that handle remoting, etc.

When I run the app I get the following runtime error:

[SerializationException] Possible Version mismatch. Type
System.Globalization.CompareInfo has 2 members, number of members
deserialized is 3.

Is there anyway to get this to work outside of converting the 1.1
components to .NET 2.0?

Thanks.
 
J

Jorge

I have an app that is in .NET 2.0 C#. But it uses components for .NET
1.1 that handle remoting, etc.

When I run the app I get the following runtime error:

[SerializationException] Possible Version mismatch. Type
System.Globalization.CompareInfo has 2 members, number of members
deserialized is 3.

Is there anyway to get this to work outside of converting the 1.1
components to .NET 2.0?

Thanks.

Probably your client and server are using the CompareInfo class from
differents framework versions.
If I were you, I would use the AppDomain.CurrentDomain.GetAssemblies()
method to see the assemblies' versions loaded on client and server.
 

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

Top