I downloaded and installed the latest version of Chart FX and now I get this error on a page that used to work fine with a slightly older version of Chart FX 7. This error comes up on the first page load even before the chart fx object is returned or asked to do anything. Other pages with chart fx charts work fine. Any help would be greatly appreciated as this is causing us very serious production issues.
Thanks,
Tony
Error returned by page:
Enumeration already finished.
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.InvalidOperationException: Enumeration already finished.
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:
[invalidOperationException: Enumeration already finished.]
System.CharEnumerator.System.Collections.IEnumerator.get_Current() +2713575
ChartFX.WebForms.DataProviders.e.b() +206
ChartFX.WebForms.Chart.ce() +129
ChartFX.WebForms.DataValues.a(Int32 A_0, Int32 A_1) +145
ChartFX.WebForms.DataValues.b(RandomFlags A_0) +68
ChartFX.WebForms.az.d() +62
ChartFX.WebForms.Chart.Export(FileFormat format, Stream stream) +222
ChartFX.WebForms.Chart.a(Boolean A_0, Boolean A_1, Int32& A_2) +197
ChartFX.WebForms.Chart.SaveViewState() +137
System.Web.UI.Control.SaveViewStateRecursive() +187
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Page.SaveAllState() +168
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1099
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
.aspx
...
<%@ Register Assembly="ChartFX.WebForms" Namespace="ChartFX.WebForms" TagPrefix="chartfx7" %>
...
Palette="ChartFX6.ChartFX6"
RandomData-Series="26" RenderFormat=".NET" Width="752px" UseCallbacksForEvents="True"
OnUserCallback="Chart1_UserCallback"
PlotAreaColor="Transparent"
Highlight-Speed="Fast" UseClientLoader="false">
color="93, 123, 157" type="Emboss">
TextColor="Navy" />
aspx.cs
...
using ChartFX.WebForms;
using ChartFX.WebForms.Adornments;
...