http://bugzilla.novell.com/show_bug.cgi?id=598052
http://bugzilla.novell.com/show_bug.cgi?id=598052#c0 Summary: On 2.6.4 (branch) : Exceptions are not shown in the browser Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Sys.Web AssignedTo: mhabers...@novell.com ReportedBy: informatique.inter...@fiducial.fr QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5 When an exception is thrown asp.net stack should show the excpetion in html stream... Reproducible: Always Steps to Reproduce: 1.try this aspx <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head runat="server"> <title>Test</title> <script runat="server"> protected override void OnLoad (EventArgs args) { if (Request.QueryString["exc"]!=null) throw new Exception("Boom"); else lbl1.Text="coucou"; } </script> </head> <body> <form id="form1" runat="server"> <asp:Label id="lbl1" runat="server"></asp:Label> </form> </body> </html> 2. run xsp2 3. launch browser with http://127.0.0.1:8080/Test.aspx?exc=1 Actual Results: Blank pages ... no html Expected Results: mono 2.4.2.3 show : <?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>Error 500</title><style type="text/css">body {font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size: 7em;color:black;background-color: white} p {font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:bold;color:black;margin-top: -5px} h1 { font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size:18pt;color:red } h2 { font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size:14pt;color:maroon } pre,code {font-family:"Lucida Console","DejaVu Sans Mono",monospace;font-size: 0.9em,white-space: pre-line} div.bodyText {font-family: "Verdana","DejaVu Sans",sans-serif} table.sampleCode {width: 100%; background-color: #ffffcc; } errorText {color: red; font-weight: bold} marker {font-weight: bold; color: black;text-decoration: none;} version {color: gray;} error {margin-bottom: 10px;} expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; }</style></head><body><h1>Server Error in '/' Application</h1><hr style="color: silver"/><h2><em>Boom</em></h2> <p><strong>Description: </strong>HTTP 500. Error processing request.</p> <p><strong>Stack Trace: </strong></p><table summary="Stack Trace" class="sampleCode"> <tr><td><pre>System.Exception: Boom at ASP.test_aspx.OnLoad (System.EventArgs args) [0x00000] at System.Web.UI.Control.LoadRecursive () [0x00000] at System.Web.UI.Page.ProcessLoad () [0x00000] at System.Web.UI.Page.ProcessPostData () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] </pre></td></tr> </table> <hr style="color: silver"/><strong>Version information: </strong> Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433</body></html> <!-- [System.Web.HttpUnhandledException]: 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] [System.Exception]: Boom at ASP.test_aspx.OnLoad (System.EventArgs args) [0x00000] at System.Web.UI.Control.LoadRecursive () [0x00000] at System.Web.UI.Page.ProcessLoad () [0x00000] at System.Web.UI.Page.ProcessPostData () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] --> [mono-2.6] ~ @ mono -V Mono JIT compiler version 2.6.4 (/branches/mono-2-6/mono r mardi 20 avril 2010, 08:57:12 (UTC+0200)) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs