L
Lloyd Dupont
I'm playing with ASP.NET 2.0
I have a simple master page withe a headsection like this:
<head runat="server">
<title>Untitled Page</title>
<% Response.Write(CssInclude); %>
</head>
and while it runs fine on IE, I keep having this strange error with Firefox:
(any thought ?)
Specified argument was out of the range of valid values. Parameter name:
index
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Specified argument
was out of the range of valid values. Parameter name: index
Source Error:
Line 5: <html xmlns="http://www.w3.org/1999/xhtml" >
Line 6: <head runat="server">
Line 7: <title>Untitled Page</title>
Line 8: <% Response.Write(CssInclude); %>
Line 9: </head>
Source File: l:\AppSource\WebSiteGalador\MasterLayout.master Line: 7
Stack Trace:
[ArgumentOutOfRangeException: Specified argument was out of the range of
valid values.
Parameter name: index]
System.Web.UI.ControlCollection.get_Item(Int32 index) +3071930
MasterLayout_master.__Render__control2(HtmlTextWriter __w, Control
parameterContainer) in l:\AppSource\WebSiteGalador\MasterLayout.master:7
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +3153695
System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer)
+44
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter
writer) +25
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +91
System.Web.UI.Control.Render(HtmlTextWriter writer) +5
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +91
System.Web.UI.Page.Render(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5916
I have a simple master page withe a headsection like this:
<head runat="server">
<title>Untitled Page</title>
<% Response.Write(CssInclude); %>
</head>
and while it runs fine on IE, I keep having this strange error with Firefox:
(any thought ?)
Specified argument was out of the range of valid values. Parameter name:
index
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Specified argument
was out of the range of valid values. Parameter name: index
Source Error:
Line 5: <html xmlns="http://www.w3.org/1999/xhtml" >
Line 6: <head runat="server">
Line 7: <title>Untitled Page</title>
Line 8: <% Response.Write(CssInclude); %>
Line 9: </head>
Source File: l:\AppSource\WebSiteGalador\MasterLayout.master Line: 7
Stack Trace:
[ArgumentOutOfRangeException: Specified argument was out of the range of
valid values.
Parameter name: index]
System.Web.UI.ControlCollection.get_Item(Int32 index) +3071930
MasterLayout_master.__Render__control2(HtmlTextWriter __w, Control
parameterContainer) in l:\AppSource\WebSiteGalador\MasterLayout.master:7
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +3153695
System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer)
+44
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter
writer) +25
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +91
System.Web.UI.Control.Render(HtmlTextWriter writer) +5
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +91
System.Web.UI.Page.Render(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +23
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +139
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5916