PC Review


Reply
Thread Tools Rate Thread

cannot serialize dataset

 
 
Lucas Fletcher
Guest
Posts: n/a
 
      16th Jul 2003
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...

--
Lucas Fletcher
(E-Mail Removed)
http://dealersinnotions.com


 
Reply With Quote
 
 
 
 
John Vannoy
Guest
Posts: n/a
 
      17th Jul 2003
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


"Lucas Fletcher" <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> 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...

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serialize a dataset =?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?= Microsoft ADO .NET 1 14th Apr 2006 05:33 AM
Serialize a dataset as xml =?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?= Microsoft ADO .NET 1 3rd Apr 2006 02:07 AM
Serialize a Dataset without using XML Juan Microsoft Dot NET Compact Framework 1 30th Nov 2004 01:43 PM
Serialize DataSet with ExpressionColumn Manuel Microsoft ADO .NET 2 21st Jul 2004 09:01 AM
Serialize DataSet moondaddy Microsoft VB .NET 9 15th Mar 2004 08:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 AM.