CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 CCS 3.0.1.5 - Win XP PRO

Print topic Send  topic

Author Message
Jaro Steigauf
Posted: 11/28/2005, 9:47 AM

I have this error mesagge on Win XP PRO.
Can you help me with this problem ???
ps: It works OK on Win 2000 Pro ! Same code !

js

The Controls collection cannot be modified because the control contains code
blocks (i.e. <% ... %>).
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 Controls collection cannot
be modified because the control contains code blocks (i.e. <% ... %>).
Source Error:

Line 139: ControlCollection
ParentControls=CentersListRepeater.Parent.Controls;
Line 140: int
RepeaterIndex=ParentControls.IndexOf(CentersListRepeater);
Line 141: ParentControls.RemoveAt(RepeaterIndex);
Line 142: Literal ErrorMessage=new Literal();
Line 143: ErrorMessage.Text="Error in Grid CentersList: Invalid
parameter";


Source File: c:\inetpub\wwwroot\wlabservice\centerslist.aspx.cs Line: 141

Stack Trace:


[HttpException (0x80004005): The Controls collection cannot be modified
because the control contains code blocks (i.e. <% ... %>).]
System.Web.UI.ControlCollection.RemoveAt(Int32 index) +133
WLabService.CentersList.CentersListPage.CentersListParameters() in
c:\inetpub\wwwroot\wlabservice\centerslist.aspx.cs:141
WLabService.CentersList.CentersListPage.CentersListBind() in
c:\inetpub\wwwroot\wlabservice\centerslist.aspx.cs:86
WLabService.CentersList.CentersListPage.Page_Load(Object sender,
EventArgs e) in c:\inetpub\wwwroot\wlabservice\centerslist.aspx.cs:56
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

peterr


Posts: 5971
Posted: 11/30/2005, 12:55 AM

Quote Forum's footer:
These are Community Forums for users to exchange information. If you would like to obtain technical product help please visit http://support.yessoftware.com.[/quote]
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.