[Mono-aspnet-list] System.InvalidCastException on LoadViewState
APS
dev.malst at apsystems.it
Mon Oct 5 05:46:27 EDT 2009
Hi,
yesterday I moved my web application from Mono 2.0.1 to Mono 2.4.
Now in some page, during postback I obtain the following error. I
will check what there is in viewstate but I can't understand why it
works on 2.0.1 and not on 2.4
Some change in Mono can cause this problem? It works on MS. Thanks in advance.
System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
System.InvalidCastException: Cannot cast from source type to destination
type.
at System.Web.UI.StateBag.LoadViewState (System.Object savedState)
[0x00000]
at System.Web.UI.Control.LoadViewState (System.Object savedState)
[0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object
savedState) [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]
--- End of inner exception stack trace ---
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20091005/bee425eb/attachment.html
More information about the Mono-aspnet-list
mailing list