Server Error in '/pill sookhti' Application.
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
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.Web.HttpException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.]
System.Web.UI.ControlCollection.RemoveAt(Int32 index) +8755827
System.Web.UI.ControlCollection.Clear() +33
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +23
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +23
System.Web.UI.Control.FindControl(String id) +12
System.Web.UI.WebControls.DataBoundControlHelper.FindControl(Control control, String controlID) +75
System.Web.UI.WebControls.DataBoundControl.GetDataSource() +8568622
System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() +37
System.Web.UI.WebControls.DataBoundControl.OnLoad(EventArgs e) +19
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.4963; ASP.NET Version:2.0.50727.4971