I would like to ask for help on how to solve below error:
Exception: The ObjectManager found an invalid number of fixups. This usually indicates a problem in the Formatter.
This is the piece of code where the error occurred:
Private Function DeSerializeObject(ByVal PathFile As String) As Object Using FileStream As IO.Stream = New IO.FileStream(PathFile, IO.FileMode.Open, IO.FileAccess.Read, IO.FileShare.Read) Dim formatter As Runtime.Serialization.IFormatter = New Runtime.Serialization.Formatters.Binary.BinaryFormatter Me.Question = DirectCast(formatter.Deserialize(FileStream), UI.Tools.QuestionCollections) Return Me.Question End Using End Function
What should I do. I ran out of options. Thank you in advance for help.