J
Joshua Moore
I have a webservice that serializes a ton of variables and other good stuff
to a txt file using SoapFormatter (IFormatter), and when I try to
deserialize it using the binary formatter, i get the following error:
BinaryFormatter Version incompatibility. Expected Version 1.0. Received
Version 1986938170.1886350437.
I've read a lot about this error from several sources on the net, but can't
get a good solution or walkthrough to find out how to fix it.
This is my call stack:
System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Rea
d(__BinaryParser input)
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadSerializat
ionHeaderRecord()
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(Head
erHandler handler, __BinaryParser serParser, Boolean fCheck,
IMethodCallMessage methodCallMessage)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S
tream serializationStream, HeaderHandler handler, Boolean fCheck,
IMethodCallMessage methodCallMessage)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S
tream serializationStream, HeaderHandler handler)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S
tream serializationStream)
to a txt file using SoapFormatter (IFormatter), and when I try to
deserialize it using the binary formatter, i get the following error:
BinaryFormatter Version incompatibility. Expected Version 1.0. Received
Version 1986938170.1886350437.
I've read a lot about this error from several sources on the net, but can't
get a good solution or walkthrough to find out how to fix it.
This is my call stack:
System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Rea
d(__BinaryParser input)
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadSerializat
ionHeaderRecord()
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(Head
erHandler handler, __BinaryParser serParser, Boolean fCheck,
IMethodCallMessage methodCallMessage)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S
tream serializationStream, HeaderHandler handler, Boolean fCheck,
IMethodCallMessage methodCallMessage)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S
tream serializationStream, HeaderHandler handler)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(S
tream serializationStream)