-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
MongoDB.Bson.Serialization.BsonClassMapSerializer.Deserialize: generates messages like this: Unexpected element "
{0}".What class are we deserializing? Was it unexpected on the class, or in the bson and not in the class (was it renamed by an attribute, but has a field – was it saved from an old version of the class)? What collection did this come from? What is the _id of this document?
There are other error messages in the same file like, "Anonymous class cannot be deserialized.","Value class {0}
cannot be deserialized.", "Required element '
{0}' is missing.", of the same type.
Please provide some context for the error so that users can find their problems, and fix them.