HI,
After I rebuild my ASP.NET web application that has a teechart WEBCHART control I intermittently keep getting the following error. I use VS.NET 2003 with .NET framework 1.1. The error is on line 26.
It used to be intermittent but now it happens all the time everytime I do a rebuild. The problem goes away if I wait for a couple of hours and build again.
This is not good because, while developing, everytime I do a rebuild, its takes me forever to test the change.
Any help would be appreciated.
Thanks
Kalyan
*************************************************************
Class already exists
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.ComponentModel.Win32Exception: Class already exists
Source Error:
Line 24: </tr>
Line 25: <tr>
Line 26: <td align="left" width="1050"><tchart:webchart id="WebChart1" runat="server" Width="1050px" TempChart="Session" ClickedY="0" ClickedX="0"
Line 27: GetChartFile="GetChart.aspx" AutoPostback="False" Height="670px" Config="AAEAAAD/////AQAAAAAAAAAMAgAAAAhUZWVDaGFydAwDAAAADlN5c3RlbS5EcmF3aW5nBQEAAAAVU3RlZW1hLlRlZUNoYXJ0LkNoYXJ0HwAAABQuUGFuZWwuQnJ1c2guVmlzaWJsZSIuV2FsbHMuQmFjay5CcnVzaC5HcmFkaWVudC5WaXNpYmxlFy5XYWxscy5CYWNrLkJydXNoLkNvbG9yGS5Bc3BlY3QuQ29sb3JQYWxldHRlSW5kZXgOLkFzcGVjdC5WaWV3M0QNLkhlYWRlci5MaW5lcxIuTGVnZW5kLlRvcExlZnRQb3MXLkxlZ2VuZC5Gb250U2VyaWVzQ29sb3IRLkxlZ2VuZC5Gb250LkJvbGQWLkxlZ2VuZC5Gb250LlNpemVGbG9hdBEuTGVnZW5kLkZvbnQuU2l6ZREuTGVnZW5kLkFsaWdubWVudBkuTGVnZW5kLlRpdGxlLlBlbi5WaXNpYmxlFi5BeGVzLlJpZ2h0LkdyaWQuU3R5bGUaLkF4ZXMuQm90dG9tLlRpdGxlLkNhcHRpb24YLkF4ZXMuQm90dG9tLlRpdGxlLkxpbmVzGy5BeGVzLkJvdHRvbS5HcmlkLkRyYXdFdmVyeRcuQXhlcy5Cb3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WUKa25vd25Db2xvcgVzdGF0ZQRuYW1lAAAAAQkHBwMAAAAAAAD/AAAAAAAAAgAKAAAAAAAJBQAAAAAAAAABAQAAEEEJAAAABfr///8gU3RlZW1hLlRlZUNoYXJ0LkxlZ2VuZEFsaWdubWVudHMBAAAAB3ZhbHVlX18ACAIAAAACAAAAAAX5////IlN5c3RlbS5EcmF3aW5nLkRyYXdpbmcyRC5EYXNoU3R5bGUBAAAAB3ZhbHVlX18ACAMAAAACAAAABggAAAAEVGltZQkJAAAABAAAAAH2/////P////////8AAAAAAAACAAoB9f////n///8AAAAAAAAQQQkAAABaAAAAZAAAAAH0////+f///wIAAAAGDQAAAAVWYWx1ZQkOAAAABAAAAAHx/////P////////8AAAAAAAACAAoB8P////n///8AAAAAAe/////5////AgAAAAHu////+f///wIAAAARBQAAAAEAAAAGEwAAABhUZWVDaGFydCBEdWFsIFRyZW5kIFZpZXcRCQAAAAEAAAAGFAAAAARUaW1lEQ4AAAABAAAABhUAAAAFVmFsdWUL"></tchart:webchart></td>
Line 28: <td vAlign="top" align="left" width="200"><label class="inputTD">Plot by</label><br>
Source File: c:\inetpub\wwwroot\dualtrendview\DualTrendChart.aspx Line: 26
Stack Trace:
[Win32Exception (0x80004005): Class already exists]
System.Windows.Forms.WindowClass.RegisterClass() +1091
System.Windows.Forms.WindowClass.Create(String className, Int32 classStyle) +181
System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) +215
System.Windows.Forms.Control.CreateHandle() +213
System.Windows.Forms.Control.get_Handle() +60
System.Windows.Forms.Control.CreateHandle() +200
System.Windows.Forms.Control.get_Handle() +60
System.Windows.Forms.Control.CreateGraphicsInternal() +5
System.Windows.Forms.Label.get_PreferredWidth() +81
System.Windows.Forms.Label.AdjustSize() +132
System.Windows.Forms.Label.OnTextChanged(EventArgs e) +24
System.Windows.Forms.Control.set_Text(String value) +108
Steema.TeeChart.Editors.DesignTimeOptions.InitializeComponent() +373
Steema.TeeChart.Editors.DesignTimeOptions..ctor() +29
Steema.TeeChart.Editors.DesignTimeOptions.GetInstance() +20
Steema.TeeChart.Editors.DesignTimeOptions.InitLanguage(Boolean forced) +27
Steema.TeeChart.Chart.initVars() +55
Steema.TeeChart.Chart..ctor() +143
Steema.TeeChart.Web.WebChart..ctor() +117
ASP.DualTrendChart_aspx.__BuildControlWebChart1() in c:\inetpub\wwwroot\dualtrendview\DualTrendChart.aspx:26
ASP.DualTrendChart_aspx.__BuildControlForm1() in c:\inetpub\wwwroot\dualtrendview\DualTrendChart.aspx:21
ASP.DualTrendChart_aspx.__BuildControlTree(Control __ctrl) in c:\inetpub\wwwroot\dualtrendview\DualTrendChart.aspx:1
ASP.DualTrendChart_aspx.FrameworkInitialize()
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.HttpServerUtility.ExecuteInternal(String path, TextWriter writer, Boolean preserveForm) +1342
[HttpException (0x80004005): Error executing child request for DualTrendChart.aspx.]
System.Web.HttpServerUtility.ExecuteInternal(String path, TextWriter writer, Boolean preserveForm) +1778
System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +24
System.Web.HttpServerUtility.Transfer(String path) +27
DualTrendView.XOSTrend.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\DualTrendView\XOSTrend.aspx.vb:60
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
Class Already Exists problem
Class Already Exists problem
--
Regards
Kalyan
Regards
Kalyan
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kalyan,
You can try closing VS2003, manually removing applications "bin" and "obj" folders, open VS2003, load the application and try rebuilding it again.
If this doesn't help, could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart version you are using?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
You can try closing VS2003, manually removing applications "bin" and "obj" folders, open VS2003, load the application and try rebuilding it again.
If this doesn't help, could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart version you are using?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |