Type Not marked as Serializable

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

Any clues for the below error? It occurs when the dataset is saved.
"The type A.B.TA.Security.NullUAMProvider+NullI B Principal in Assembly A.B.TA.Security, Version=0.5.81.4949, Culture=neutral, PublicKeyToken=cdd76572a2ced694 is not marked as serializable."

Thanks in advance for ur reply
Regards,
Raja.
 
If you are trying to send a type (i.e. your custom object)
over a network, or indeed storing to disk, .Net will
serialize your object into a stream.

However, it can only do this if your object implements the
ISerializable interface (useful for custom serialization)
or is marked with the Serializable attribute (simplest
method).

MSDN has a few articles. Hope this helps.

Dan
-----Original Message-----
Hi All,

Any clues for the below error? It occurs when the dataset is saved.
"The type A.B.TA.Security.NullUAMProvider+NullI B
Principal in Assembly A.B.TA.Security,
Version=0.5.81.4949, Culture=neutral,
PublicKeyToken=cdd76572a2ced694 is not marked as
serializable."
 
Back
Top