[Mono-dev] Re: Remoting Type Load Exception - After Upgradingfrom .NET 1.1 to 2.0
Robert Jordan
robertj at gmx.net
Sun May 21 13:14:23 EDT 2006
Hi,
Please reply to the list.
> I was under the impression that converting my application from VS2003 to
> VS2005 that I would be using the .NET 2.0 CLR.
It is.
>
> Can you point me to a URL that might help me understand what you are talking
> about? I have no idea what "csc on MS.NET 2.0" means. I see no options in
> VS2005 that give me the option of compiling for 2.0 vs 1.1 etc.
Ok, it looks like you're compiling under VS.NET 2005 and copying
the assemblies to a Linux box, right? You just found bug regarding
serialization compatibility.
Please file it at http://www.mono-project.com/Bugs, component ADO.NET.
Robert
>
> I guess I just need a simple but more detailed explanation of what you are
> talking about.
>
> Thanks for your time.
>
> Brandon
>
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert Jordan
> Sent: Sunday, May 21, 2006 12:40 PM
> To: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Re: Remoting Type Load Exception - After
> Upgradingfrom .NET 1.1 to 2.0
>
> Brandon Davids wrote:
>> What do you mean, try the 2.0 profile? Is this a command line option
> using
>> mono? I see the --profile parameter but I can't find any documentation on
>> it.
>
> It's not an option. An app has to be compiled for 2.0, either using
> csc on MS.NET 2.0 or gmcs on Mono.
>
> Robert
>
>> -----Original Message-----
>> From: mono-devel-list-bounces at lists.ximian.com
>> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert
> Jordan
>> Sent: Sunday, May 21, 2006 7:17 AM
>> To: mono-devel-list at lists.ximian.com
>> Subject: [Mono-dev] Re: Remoting Type Load Exception - After Upgrading
> from
>> .NET 1.1 to 2.0
>>
>> Hi,
>>
>> Brandon Davids wrote:
>>> I'm using Remoting to send DataSets back and forth between a
>> client/server.
>>> My project worked great when it was .NET 1.1 and Mono 1.1.12.x. Now that
>>> I've upgrade my project to .NET 2.0 and Mono 1.1.13 or 1.1.15, I get a
>> type
>>> load exception when sending the DataSet.
>>>
>> The format of DataSet's binary serialization has been changed
>> in MS.NET 2.0. It's not compatible with MS.NET 1.1.
>>
>> You didn't mention the runtime version of your Mono app.
>> If it's 1.1, try the 2.0 profile. If it still fails, file a
>> bug at http://www.mono-project.com/Bugs, component ADO.NET.
>>
>> Robert
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list