cannot serialize dataset

  • Thread starter Thread starter Lucas Fletcher
  • Start date Start date
L

Lucas Fletcher

I know you are supposed to be able to serialize datasets, unlike datarows
and tables which are errorneously marked as serializable. But for some
reason I get the same error trying to receive a dataset from a remote call
as a do with the datrow:

An unhandled exception of type
'System.Runtime.Serialization.SerializationException' occurred in
mscorlib.dll

Additional information: The type System.Xml.XmlBoundElement in Assembly
System.Data, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 is not marked as serializable.

Has anyone else experienced this problem? I am not doing anything at all out
of the usual...
 
Please post code snippets. At minimum, your method definition, and
the line(s) of code that calls it.

For example, method definition:
Public Function Fill(ByVal sQuoteID As String, _
ByVal sLOB As String, _
ByVal sRateSetID As String, _
ByRef ds As DataSet, _
ByRef alError As ArrayList) As Boolean

And your calling code:
If Not mdlCovGen.Fill(myQuoteID, myLOB, myRatesetID, mydsCovGen,
alError) Then
Return False
End If
 
Back
Top