Re: [Mono-dev] ASP.NET website fails after update to 2.4.3

2009-12-18 Thread Marek Habersack
ryReader
> > r, System.Web.UI.ReaderContext ctx) [0x00020]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:717
> > at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject 
> > (System.IO.BinaryReader r,
> > System.Web.UI.ReaderContext ctx) [0xf]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:467
> > at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte token, 
> > System.IO.BinaryReader r,
> > System.Web.UI.ReaderContext ctx) [0x6]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:691
> > at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject 
> > (System.IO.BinaryReader r,
> > System.Web.UI.ReaderContext ctx) [0xf]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:467
> > at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte token, 
> > System.IO.BinaryReader r,
> > System.Web.UI.ReaderContext ctx) [0x6]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:691
> > at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject 
> > (System.IO.BinaryReader r,
> > System.Web.UI.ReaderContext ctx) [0xf]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:467
> > at System.Web.UI.ObjectStateFormatter.DeserializeObject 
> > (System.IO.BinaryReader r) [0x0]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:222
> > at System.Web.UI.ObjectStateFormatter.Deserialize (System.IO.Stream 
> > inputStream) [0x00011]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:141
> > at System.Web.UI.ObjectStateFormatter.Deserialize (System.String 
> > inputString) [0x000a8]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:169
> > at System.Web.UI.HiddenFieldPageStatePersister.Load () [0x7]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/HiddenFieldPageStatePersister.cs:61
> > at System.Web.UI.Page.LoadPageStateFromPersistenceMedium () [0xf]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1908
> >  at
> > System.Web.UI.Page.LoadPageViewState () [0x0]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1914
> >  at
> > System.Web.UI.Page.RestorePageState () [0x00051]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1558
> >  at
> > System.Web.UI.Page.InternalProcessRequest () [0x001b9]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1533
> >  at
> > System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005b]
> > in 
> > /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1353
> >  
> > 
> > 
> > 
> > -Original Message-
> > From: k0l0b0k 
> > To: gren...@twistedcode.net
> > Cc: mono-devel-list@lists.ximian.com
> > Subject: Re: [Mono-dev] ASP.NET website fails after update to 2.4.3
> > Date: Fri, 11 Dec 2009 00:09:03 +0200
> > 
> > 
> > Hello again, thanks for reply.
> > I'm play with ObjectStateFormatter, and found this:
> > if I add this check:
> >  !converter.CanConvertFrom (t) on line 441 of trunk's source
> > as it was changed in this patch:
> > http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs?r1=143587&r2=143967
> > 
> > application goes to work well.
> > I did not understand how and why (no time for it), but it works. Thanks, 
> > Marek!
> > 
> > 2009/12/10 Marek Habersack :
> > > On Thu, 10 Dec 2009 23:08:55 +0200
> > > k0l0b0k  wrote:
> > >
> > >> Good day!
> > > Hello,
> > >
> > >> I have a production website, that runs on mod_mono on Debian Lenny,
> > >> and after update from 2.4.2.3 to mono-2.4.3 few hours ago, application
> > >> runs with some stranges (it works at all, but does not show some
> > >> information).
> > > It looks like either a regression in ObjectStateFormatter or an issue with
> > > CollectionConverter. 2.4.3 has some changes in the

Re: [Mono-dev] ASP.NET website fails after update to 2.4.3

2009-12-17 Thread Marek Habersack
ectStateFormatter+PairFormatter.Read (Byte token, 
> System.IO.BinaryReader r,
> System.Web.UI.ReaderContext ctx) [0x6]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:691
> at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject 
> (System.IO.BinaryReader r,
> System.Web.UI.ReaderContext ctx) [0xf]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:467
> at System.Web.UI.ObjectStateFormatter.DeserializeObject 
> (System.IO.BinaryReader r) [0x0]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:222
> at System.Web.UI.ObjectStateFormatter.Deserialize (System.IO.Stream 
> inputStream) [0x00011]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:141
> at System.Web.UI.ObjectStateFormatter.Deserialize (System.String inputString) 
> [0x000a8]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs:169
> at System.Web.UI.HiddenFieldPageStatePersister.Load () [0x7]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/HiddenFieldPageStatePersister.cs:61
> at System.Web.UI.Page.LoadPageStateFromPersistenceMedium () [0xf]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1908
>  at
> System.Web.UI.Page.LoadPageViewState () [0x0]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1914
>  at
> System.Web.UI.Page.RestorePageState () [0x00051]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1558
>  at
> System.Web.UI.Page.InternalProcessRequest () [0x001b9]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1533
>  at
> System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005b]
> in 
> /home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1353
>  
> 
> 
> 
> -Original Message-
> From: k0l0b0k 
> To: gren...@twistedcode.net
> Cc: mono-devel-list@lists.ximian.com
> Subject: Re: [Mono-dev] ASP.NET website fails after update to 2.4.3
> Date: Fri, 11 Dec 2009 00:09:03 +0200
> 
> 
> Hello again, thanks for reply.
> I'm play with ObjectStateFormatter, and found this:
> if I add this check:
>  !converter.CanConvertFrom (t) on line 441 of trunk's source
> as it was changed in this patch:
> http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs?r1=143587&r2=143967
> 
> application goes to work well.
> I did not understand how and why (no time for it), but it works. Thanks, 
> Marek!
> 
> 2009/12/10 Marek Habersack :
> > On Thu, 10 Dec 2009 23:08:55 +0200
> > k0l0b0k  wrote:
> >
> >> Good day!
> > Hello,
> >
> >> I have a production website, that runs on mod_mono on Debian Lenny,
> >> and after update from 2.4.2.3 to mono-2.4.3 few hours ago, application
> >> runs with some stranges (it works at all, but does not show some
> >> information).
> > It looks like either a regression in ObjectStateFormatter or an issue with 
> > CollectionConverter.
> > 2.4.3 has some changes in the former which introduced proper usage of type 
> > converters. It's
> > hard to tell which of the above is true without getting a test case or 
> > access to your
> > application so that I can reproduce the bug locally. Please file a bug and 
> > include a test case
> > (or provide source for your application if you can). If you can't share 
> > your app's code
> > publically and are unable to come up with a test case, please contact me 
> > privately at
> > mhabers...@novell.com and we'll work something out.
> >
> > regards,
> >
> > marek
> >
> >
> >> In apache's error log I'm found:
> >>
> >> Runtime error: Exception of type 'System.Web.HttpUnhandledException'
> >> was thrown.
> >>
> >>   at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
> >>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
> >> context) [0x0]
> >>   at System.Web.HttpApplication+c__Iterator2.MoveNext ()
> >> [0x0]
> >>   at System.Web.HttpApplication.Tick () [0x0]
> >>
> >> Inner exception: CollectionConverter cannot convert from System.String.
> >>
> >>   at System.ComponentModel.TypeConverter.GetConvertFromException
> >> (System.Object value) [0x000

Re: [Mono-dev] ASP.NET website fails after update to 2.4.3

2009-12-15 Thread Robert Abram
 System.Web.UI.Page.RestorePageState () [0x00051] in 
/home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1558
 
  at System.Web.UI.Page.InternalProcessRequest () [0x001b9] in 
/home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1533
 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) 
[0x0005b] in 
/home/build/mono.2.4.3/mono-2.4.3/mcs/class/System.Web/System.Web.UI/Page.cs:1353
 



-Original Message-
From: k0l0b0k 
To: gren...@twistedcode.net
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] ASP.NET website fails after update to 2.4.3
Date: Fri, 11 Dec 2009 00:09:03 +0200


Hello again, thanks for reply.
I'm play with ObjectStateFormatter, and found this:
if I add this check:
 !converter.CanConvertFrom (t) on line 441 of trunk's source
as it was changed in this patch:
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs?r1=143587&r2=143967

application goes to work well.
I did not understand how and why (no time for it), but it works. Thanks, Marek!

2009/12/10 Marek Habersack :
> On Thu, 10 Dec 2009 23:08:55 +0200
> k0l0b0k  wrote:
>
>> Good day!
> Hello,
>
>> I have a production website, that runs on mod_mono on Debian Lenny,
>> and after update from 2.4.2.3 to mono-2.4.3 few hours ago, application
>> runs with some stranges (it works at all, but does not show some
>> information).
> It looks like either a regression in ObjectStateFormatter or an issue with 
> CollectionConverter.
> 2.4.3 has some changes in the former which introduced proper usage of type 
> converters. It's hard to
> tell which of the above is true without getting a test case or access to your 
> application so that I
> can reproduce the bug locally. Please file a bug and include a test case (or 
> provide source for
> your application if you can). If you can't share your app's code publically 
> and are unable to come
> up with a test case, please contact me privately at mhabers...@novell.com and 
> we'll work something
> out.
>
> regards,
>
> marek
>
>
>> In apache's error log I'm found:
>>
>> Runtime error: Exception of type 'System.Web.HttpUnhandledException'
>> was thrown.
>>
>>   at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
>>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
>> context) [0x0]
>>   at System.Web.HttpApplication+c__Iterator2.MoveNext ()
>> [0x0]
>>   at System.Web.HttpApplication.Tick () [0x0]
>>
>> Inner exception: CollectionConverter cannot convert from System.String.
>>
>>   at System.ComponentModel.TypeConverter.GetConvertFromException
>> (System.Object value) [0x0]
>>   at System.ComponentModel.TypeConverter.ConvertFrom
>> (ITypeDescriptorContext context, System.Globalization.CultureInfo
>> culture, System.Object value) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TypeConverterFormatter.Read
>> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
>> ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
>> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
>> ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
>> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
>> ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormat

Re: [Mono-dev] ASP.NET website fails after update to 2.4.3

2009-12-10 Thread k0l0b0k
Hello again, thanks for reply.
I'm play with ObjectStateFormatter, and found this:
if I add this check:
 !converter.CanConvertFrom (t) on line 441 of trunk's source
as it was changed in this patch:
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs?r1=143587&r2=143967

application goes to work well.
I did not understand how and why (no time for it), but it works. Thanks, Marek!

2009/12/10 Marek Habersack :
> On Thu, 10 Dec 2009 23:08:55 +0200
> k0l0b0k  wrote:
>
>> Good day!
> Hello,
>
>> I have a production website, that runs on mod_mono on Debian Lenny,
>> and after update from 2.4.2.3 to mono-2.4.3 few hours ago, application
>> runs with some stranges (it works at all, but does not show some
>> information).
> It looks like either a regression in ObjectStateFormatter or an issue with 
> CollectionConverter.
> 2.4.3 has some changes in the former which introduced proper usage of type 
> converters. It's hard to
> tell which of the above is true without getting a test case or access to your 
> application so that I
> can reproduce the bug locally. Please file a bug and include a test case (or 
> provide source for
> your application if you can). If you can't share your app's code publically 
> and are unable to come
> up with a test case, please contact me privately at mhabers...@novell.com and 
> we'll work something
> out.
>
> regards,
>
> marek
>
>
>> In apache's error log I'm found:
>>
>> Runtime error: Exception of type 'System.Web.HttpUnhandledException'
>> was thrown.
>>
>>   at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
>>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
>> context) [0x0]
>>   at System.Web.HttpApplication+c__Iterator2.MoveNext ()
>> [0x0]
>>   at System.Web.HttpApplication.Tick () [0x0]
>>
>> Inner exception: CollectionConverter cannot convert from System.String.
>>
>>   at System.ComponentModel.TypeConverter.GetConvertFromException
>> (System.Object value) [0x0]
>>   at System.ComponentModel.TypeConverter.ConvertFrom
>> (ITypeDescriptorContext context, System.Globalization.CultureInfo
>> culture, System.Object value) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TypeConverterFormatter.Read
>> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
>> ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
>> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
>> ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
>> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
>> ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
>> [0x0]
>>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
>> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
>> token, System.IO.BinaryReader r, System.Web.UI.

Re: [Mono-dev] ASP.NET website fails after update to 2.4.3

2009-12-10 Thread Marek Habersack
On Thu, 10 Dec 2009 23:08:55 +0200
k0l0b0k  wrote:

> Good day!
Hello,

> I have a production website, that runs on mod_mono on Debian Lenny,
> and after update from 2.4.2.3 to mono-2.4.3 few hours ago, application
> runs with some stranges (it works at all, but does not show some
> information).
It looks like either a regression in ObjectStateFormatter or an issue with 
CollectionConverter.
2.4.3 has some changes in the former which introduced proper usage of type 
converters. It's hard to
tell which of the above is true without getting a test case or access to your 
application so that I
can reproduce the bug locally. Please file a bug and include a test case (or 
provide source for
your application if you can). If you can't share your app's code publically and 
are unable to come
up with a test case, please contact me privately at mhabers...@novell.com and 
we'll work something
out.

regards,

marek


> In apache's error log I'm found:
> 
> Runtime error: Exception of type 'System.Web.HttpUnhandledException'
> was thrown.
> 
>   at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
> context) [0x0]
>   at System.Web.HttpApplication+c__Iterator2.MoveNext ()
> [0x0]
>   at System.Web.HttpApplication.Tick () [0x0]
> 
> Inner exception: CollectionConverter cannot convert from System.String.
> 
>   at System.ComponentModel.TypeConverter.GetConvertFromException
> (System.Object value) [0x0]
>   at System.ComponentModel.TypeConverter.ConvertFrom
> (ITypeDescriptorContext context, System.Globalization.CultureInfo
> culture, System.Object value) [0x0]
>   at System.Web.UI.ObjectStateFormatter+TypeConverterFormatter.Read
> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
> ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
> ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
> (Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
> ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
> token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
> [0x0]
>   at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
> (System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
>   at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
> token, System.IO.BinaryReader r, Sys

[Mono-dev] ASP.NET website fails after update to 2.4.3

2009-12-10 Thread k0l0b0k
Good day!
I have a production website, that runs on mod_mono on Debian Lenny,
and after update from 2.4.2.3 to mono-2.4.3 few hours ago, application
runs with some stranges (it works at all, but does not show some
information).
In apache's error log I'm found:

Runtime error: Exception of type 'System.Web.HttpUnhandledException'
was thrown.

  at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
context) [0x0]
  at System.Web.HttpApplication+c__Iterator2.MoveNext ()
[0x0]
  at System.Web.HttpApplication.Tick () [0x0]

Inner exception: CollectionConverter cannot convert from System.String.

  at System.ComponentModel.TypeConverter.GetConvertFromException
(System.Object value) [0x0]
  at System.ComponentModel.TypeConverter.ConvertFrom
(ITypeDescriptorContext context, System.Globalization.CultureInfo
culture, System.Object value) [0x0]
  at System.Web.UI.ObjectStateFormatter+TypeConverterFormatter.Read
(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x0]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x0]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r