[Mono-dev] Typed dataset serialization still failing in mono 2.0.1

marcos b marcosb at internet.com.uy
Sun Nov 30 20:56:00 EST 2008


I didn't. In fact, I attached it twice :). Look at the end of the message and
you'll see a link



"Andrés G. Aragoneses"-2 wrote:
> 
> 
> You forgot the attachment.
> 
> But let's rather create a bug, and attach a simple .cs file that exposes
> the problem.
> 
> Thanks,
> 
> 	Andrés
> 
> 
> marcos b wrote:
>> I didn't added those things because the bug can be reproduced very
>> easily.
>> You need to create one dataset in vs2008 or vs2005, add one datatable,
>> and
>> one column to this datatable and try to serialize it using the test that
>> I
>> provided.
>> 
>> I encapsulated this test in a project that have attached in this message.
>> Try it.
>> 
>> Thanks Rafael.
>> 
>> 
>> 
>> 
>> Rafael Teixeira wrote:
>>> The stack trace for the exception, the generated typed dataset class,
>>> and
>>> your blob binary-serialized by MS runtime, would increase immensely the
>>> chance we can discover what is happening. If you already added that to
>>> your
>>> bug case citing the bug number here also helps.
>>>
>>> :)
>>>
>>> On Wed, Nov 26, 2008 at 9:37 AM, marcos b <marcosb at internet.com.uy>
>>> wrote:
>>>
>>>> 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 (I get the
>>>> same
>>>> error using vs 2008 typed dataset)
>>>>
>>>> System.ArgumentException : The given name 'MyDataTable' matches atleast
>>>> two
>>>> namesin the collection object with different namespaces
>>>>
>>>>     [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);
>>>>        }
>>>>
>>>> It's extremelly important for me to have the possibility of serializing
>>>> and
>>>> deserializing typed datasets for the migration of my application to the
>>>> mono
>>>> platform. So I would be very happy to know if this issue is going to be
>>>> addressed soon.
>>>>
>>>> I have posted the same issue a couple of months, even a file the bug in
>>>> mono
>>>> bugzilla but, but nothing happened.
>>>>
>>>> The idea of the mono platform is great, but no supporting simple code
>>>> like
>>>> the posted above can make someone to give up porting his .net
>>>> application
>>>> to
>>>> the linux world.
>>>>
>>>> Thanks in advance
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Typed-dataset-serialization-still-failing-in-mono-2.0.1-tp20699241p20699241.html
>>>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Mono-devel-list mailing list
>>>> Mono-devel-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>>
>>>
>>>
>>> -- 
>>> Rafael "Monoman" Teixeira
>>> ---------------------------------------
>>> "I myself am made entirely of flaws, stitched together with good
>>> intentions."
>>> Augusten Burroughs
>>>
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>>
>> http://www.nabble.com/file/p20705237/TypedDataSetTest.rar
>> TypedDataSetTest.rar 
>> http://www.nabble.com/file/p20705237/TypedDataSetTest.rar
>> TypedDataSetTest.rar 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Typed-dataset-serialization-still-failing-in-mono-2.0.1-tp20699241p20764874.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list