By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 865 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

No map for object

P: n/a
Hello all,
I have some code:

Public Shared Function DeserializeMessage(ByVal stream As Byte(), ByRef obj
As Object) As Boolean

Dim ms As MemoryStream = New MemoryStream(stream)
Dim bf As BinaryFormatter = New BinaryFormatter
ms.Position = 0
bf.Binder = New MessageBinder
obj = bf.Deserialize(ms)
Return True
Catch exp As System.Runtime.Serialization.SerializationExceptio n
Debug.WriteLine(String.Format("Exception in DeserializeMessage, {0}",
Return False
End Try
End Function

When I attempt to deserialize (obj = bf.Deserialize(ms), I receive the
No map for object 201326592
error. How can I determine what object this is? I suspect it is the
AlertMessage, which is a class of my own design. What can I do to resolve
this error?

Mar 27 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.