[Mono-dev] ViewState Problem

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Sep 27 02:53:06 EDT 2005

On Mon, 2005-09-26 at 10:10 +0200, Hubert FONGARNAND wrote:
> I've updated my mono from SVN today, and my ASP.NET app (it used to
> worked...) has a viewstate problem!
> Somebody know something about that:
> System.NullReferenceException: Object reference not set to an instance
> of an object 
> in <0x00067> System.Web.UI.LosFormatter:SerializeAndHash (System.IO.MemoryStream ms, System.Object value)
> in <0x0006b> System.Web.UI.LosFormatter:Serialize (System.IO.TextWriter output, System.Object value)
> in <0x00045> FicheClient.PageAgenda:SavePageStateToPersistenceMedium (System.Object viewState)
> in <0x00095> System.Web.UI.Page:SavePageViewState ()
> in <0x00296> System.Web.UI.Page:InternalProcessRequest ()
> in <0x000a0> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
> in <0x01098> System.Web.HttpApplication+<Pipeline>__1:MoveNext ()
> Excuse me i've no time to do a test case today...

Not much I can do without at least a line number. If you can get a test
case for this, please file a bug report in bugzilla. As a workaround,
set enableViewStateMac to false in your machine.config/web.config.


More information about the Mono-devel-list mailing list