Jump to content
Software FX Community

class already exists


User (Legacy)

Recommended Posts

I am trying to do the old ChartFX.Lite / AR.NET combo in debugging an

ASP.NET app in VS.NET 2003. When I try to run the code: Chart xxx = new

Chart() more than once, I get a "System.ComponetMode.Win32Exception: Class

Already Exists". I call .dispose() and do the same thing.

I am dynamically creating the chart; the problem happens intermittenly, but

how it happens to me is that I will debug the ASP.NET application. Run to

completion (to make sure .dispose() gets called). Then either restart

debugging or start/stop. The exception gets thrown on the Chart xxx = new

Chart();

Anyone know how I can stop this from happening?

-Luis

Link to comment
Share on other sites

I am trying to do the old ChartFX.Lite / AR.NET combo in debugging an

ASP.NET app in VS.NET 2003. When I try to run the code: Chart xxx = new

Chart() more than once, I get a "System.ComponetMode.Win32Exception: Class

Already Exists". I call .dispose() and do the same thing.

I am dynamically creating the chart; the problem happens intermittenly, but

how it happens to me is that I will debug the ASP.NET application. Run to

completion (to make sure .dispose() gets called). Then either restart

debugging or start/stop. The exception gets thrown on the Chart xxx = new

Chart();

Anyone know how I can stop this from happening?

-Luis

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...