[Mono-dev] Regression in System.Web
Joe Audette
joe_audette at yahoo.com
Mon Mar 20 22:16:12 EST 2006
Hi All,
I'm seeing a problem on the UserProfile page in mojoPortal. It was reported to me by a user running the latest release of mono and I am also seeing it in the latest build of mono from svn r58211
The code in this page hasn't changed in a while and was working without error a while back. Tonight I tried putting try catch statements around all references to DropDownList controls but I still get the error.
This is using apache2 on Suse 10 fully up to date.
The user of mojoPortal who reported it to me was using Ubuntu, mono 1.1.13.4 and apache2
I'm not entirely sure what line of code its happening on but the error is:
System.Web.HttpException: DropDownList only may have a single selected item
in <0x00188> System.Web.UI.WebControls.DropDownList:RenderContents (System.Web.UI.HtmlTextWriter writer)
in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer)
in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in <0x0000d> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer)
in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer)
in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in <0x0000d> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer)
in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer)
in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x00278> ASP.layout_ascx:__Render_frmMain (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_HtmlTextWriter_Control (System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in <0x00026> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer)
in <0x00055> System.Web.UI.HtmlControls.HtmlForm:RenderChildren (System.Web.UI.HtmlTextWriter w)
in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer)
in <0x0000d> System.Web.UI.HtmlControls.HtmlForm:Render (System.Web.UI.HtmlTextWriter w)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer)
in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer)
in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer)
in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer)
in <0x002f1> System.Web.UI.Page:InternalProcessRequest ()
in <0x000a4> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
I'm happy to post the code of th page if that will help.
Cheers,
Joe
More information about the Mono-devel-list
mailing list