Jump to content
Software FX Community

Chart object can't be created in code after a few successful try.


Recommended Posts

Hi,

I'm trying to use the code below to dynamically generate a byte array image. My web page have two or thress charts. After load this page for a couple of times ( the first few times are fine), the application will stop at the first line and myChart couldn't be created. There's no error can be caught by "Try.. Catch". I have to restart IIS (5.1 on windows XP).

Dim myChart As New SoftwareFX.ChartFX.Internet.Server.Chart

myChart.Export(SoftwareFX.ChartFX.Internet.Server.FileFormat.Png, memorystream)

 Does anyone know the reason for the problem?

 Regards,

 W.D

Link to post
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.

Loading...
×
×
  • Create New...