Mar 08, 2009, 10:39 PM
This page crashed IIS6 and now throws Service Unavailable
Very weird. I was getting a "RowLayout does not contain a def. for Rows" error (even though it came up thru code completion) so I started breaking it down to see where the issue. Loaded up the below and IIS crashed and now this page throws <h1>Service Unavailable</h1>.... Any Ideas? All of my other pages work fine.
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Coolite.Ext.Web.LayoutColumn layoutcolumn = new Coolite.Ext.Web.LayoutColumn { ColumnWidth = .2M };
Coolite.Ext.Web.Panel nspanel = new Coolite.Ext.Web.Panel { Collapsible = true, TitleCollapse = true, AutoHeight = true, Frame = true };
Coolite.Ext.Web.ColumnLayout columnlayout = new Coolite.Ext.Web.ColumnLayout();
Coolite.Ext.Web.LayoutRow layoutrow = new Coolite.Ext.Web.LayoutRow { RowHeight = .5M };
Coolite.Ext.Web.Panel formcolpanel = new Coolite.Ext.Web.Panel { Border = false, Header = false };
Coolite.Ext.Web.RowLayout rowlayout = new Coolite.Ext.Web.RowLayout();
Coolite.Ext.Web.Label lbl = new Coolite.Ext.Web.Label { Text = "&nbsp;" };
layoutrow.Items.Add(lbl);
rowlayout.Rows.Add(layoutrow);
formcolpanel.Items.Add(rowlayout);
layoutcolumn.Items.Add(formcolpanel);
columnlayout.Columns.Add(layoutcolumn);
layoutrow = new LayoutRow { RowHeight = .5M };
Coolite.Ext.Web.Button btn = new Coolite.Ext.Web.Button { Text = "Search", Icon = Icon.Find, CausesValidation = false, AutoPostBack = false };
layoutrow.Items.Add(btn);
rowlayout.Rows.Add(layoutrow);
formcolpanel.Items.Add(rowlayout);
layoutcolumn.Items.Add(formcolpanel);
columnlayout.Columns.Add(layoutcolumn);
nspanel.Items.Add(columnlayout);
this.form1.Controls.Add(nspanel);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
</form>
</body>
</html>
Application Event Log Shows:EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4 system.web, P5 2.0.0.0, P6 4889dee0, P7 2d59, P8 0, P9 system.stackoverflowexception, P10 NIL.