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

k0l0b0k k0l0b0k.void at gmail.com
Thu Dec 10 16:08:55 EST 2009


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) [0x00000]
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
context) [0x00000]
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext ()
[0x00000]
  at System.Web.HttpApplication.Tick () [0x00000]

Inner exception: CollectionConverter cannot convert from System.String.

  at System.ComponentModel.TypeConverter.GetConvertFromException
(System.Object value) [0x00000]
  at System.ComponentModel.TypeConverter.ConvertFrom
(ITypeDescriptorContext context, System.Globalization.CultureInfo
culture, System.Object value) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TypeConverterFormatter.Read
(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read
(Byte token, System.IO.BinaryReader r, System.Web.UI.ReaderContext
ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte
token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx)
[0x00000]
  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000]
  at System.Web.UI.ObjectStateFormatter.DeserializeObject
(System.IO.BinaryReader r) [0x00000]
  at System.Web.UI.ObjectStateFormatter.Deserialize (System.IO.Stream
inputStream) [0x00000]
  at System.Web.UI.ObjectStateFormatter.Deserialize (System.String
inputString) [0x00000]
  at System.Web.UI.HiddenFieldPageStatePersister.Load () [0x00000]
  at System.Web.UI.Page.LoadPageStateFromPersistenceMedium () [0x00000]
  at System.Web.UI.Page.LoadPageViewState () [0x00000]
  at System.Web.UI.Page.RestorePageState () [0x00000]
  at System.Web.UI.Page.InternalProcessRequest () [0x00000]
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext
context) [0x00000]

How can I fix this bug? This app works properly on mono versions from
1.9 to 2.4.2, and MS .NET 2.0 (Cassini and IIS hosts).
I'm build mono from sources, and can give any additional info, if needed.
One thing - if you can help - please do it, coz I need to fix it urgently.
Thanks in advice!


More information about the Mono-devel-list mailing list