[Mono-bugs] [Bug 427769] New: Typed datasets binary serialization	error
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Fri Sep 19 10:29:12 EDT 2008
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=427769
           Summary: Typed datasets binary serialization error
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: marcosb at internet.com.uy
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
Description of Problem:
I have an extremelly simple typed dataset generated using vs 2005 with one
datatable with a simple column
When I try to run this test I get the following exception when deserializing
the dataset
"System.ArgumentException : The given name 'MyDataTable' matches atleast two
namesin the collection object with different namespaces"
This also happens with a vs2008 generated dataset
Steps to reproduce the problem:
        [Test]
        public void SimpleTypedDataSetSerialization()
        {            
            MyDataSet ds = new MyDataSet();            
            BinaryFormatter f = new BinaryFormatter();
            MemoryStream ms = new MemoryStream();
            f.Serialize(ms, ds);
            ms.Position = 0;
            ds = (MyDataSet)f.Deserialize(ms);            
        }
Actual Results:
System.ArgumentException : The given name 'MyDataTable' matches atleast two
namesin the collection object with different namespaces
Expected Results:
How often does this happen? 
Always
Additional Information:
My application is 1 million LOC. A rewrite of typed datasets into plain objects
it's not a nice alternative
-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
    
    
More information about the mono-bugs
mailing list