B
Bal Ghuman
Hi Guys
I've got an ASP.NET application that dynamically creates a navigation table
from an XML file and then Loads a user control according to which link has
been selected. The control overrides the pages functionality using
'TemplateControl.LoadControl' to dynamically load a UserControl (.ascx)
that implements HttpContext.Current.Cache functionality. The application
works fine in our development environment but when deployed live the
following error is randomly generated:
ERROR = System.Web.HttpException: Multiple controls with the same ID
'tr_xxx' were found. FindControl requires that controls have unique IDs. at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
I havn't included any code snippets as the application works fine and this
is a totally random error which occurs infrequently. The application is
hosted on a W2K Server and is built in the 1.0 Framework. I read the
following article by Microsoft, but installing this patch knocked out the
application.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;834608
I'm in a quandary with this one, any pointers would be most appreciated.
Thanks in advance....
Bal
I've got an ASP.NET application that dynamically creates a navigation table
from an XML file and then Loads a user control according to which link has
been selected. The control overrides the pages functionality using
'TemplateControl.LoadControl' to dynamically load a UserControl (.ascx)
that implements HttpContext.Current.Cache functionality. The application
works fine in our development environment but when deployed live the
following error is randomly generated:
ERROR = System.Web.HttpException: Multiple controls with the same ID
'tr_xxx' were found. FindControl requires that controls have unique IDs. at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer,
ControlCollection controls) at
I havn't included any code snippets as the application works fine and this
is a totally random error which occurs infrequently. The application is
hosted on a W2K Server and is built in the 1.0 Framework. I read the
following article by Microsoft, but installing this patch knocked out the
application.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;834608
I'm in a quandary with this one, any pointers would be most appreciated.
Thanks in advance....
Bal