Jump to content
Software FX Community

Enumeration already finished Chart FX Error


tonyf8888
 Share

Recommended Posts

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;

...

Link to comment
Share on other sites

Hi Tony,

We will need to replicate the problem you are experiencing on our side. Please send us an email to support at softwarefx dot com and provide us with the simplest form of the code (small compilable sample) that reproduces the problem. Since other lines of code could be causing the problem, please isolate the sample including only the code that replicates the issue in question. Please remove the extra-code that is not related to Chart FX so we can focus on the problem itself.

Regards,

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...