Jump to content
Software FX Community

RE: Image generation crash


Software FX

Recommended Posts

Hello,

My suggestion would be to download the latest update of ChartFX IE 2000 from our support site.

The following code was used in our tests.

<%@ Language=VBScript %>

<HTML>

<HEAD>

</HEAD>

<BODY>

<!-- #include virtual="/Include/CfxIE.inc" -->

<%

Set Chart = Server.CreateObject("ChartFX.WebServer.4")

chart.ImgWidth = 400

chart.ImgHeight = 350

chart.ImgTags = "Png"

chart.Export 9, "C:\Test.png"

%>

<%= Chart.GetHtmlTag(500,500,"Auto","Chart") %>

</BODY>

</HTML>

Justin Trask

Software FX

-----Original Message-----

From: Nick Simonov [mailto:nsimonov@InvestorForce.com]

Posted At: Friday, October 27, 2000 12:49 PM

Posted To: Server

Conversation: Image generation crash

Subject: Image generation crash

Hello,

ChartFX.WebServer carshes in any configuration when trying to generate PNGs

or Jpegs. All DLLs are present and registered. Reinstall of ChartFX does not

help and it happens on both 3.5 and 2000 versions. Here are two examples of

the problem:

---------------------- 1 ----------------------------

When executing:

...

chart.ImgWidth = 400

chart.ImgHeight = 350

chart.ImgTags = "Png"

chart.Export CHART_IMAGE, "C:\Test.png"

it Dr. Watsons on chart.Export line. If it can help it crashes after

openning C:\Test.png for writing so there is an empty file C:\Test.png.

----------------- 2 -----------------------

The same error ocurres from ASP page:

<%

Set chart = Server.CreateObject("ChartFX.WebServer")

Response.write chart.GetHtmlTag(350, 350, "Image")

%>

With the error message:

error 'ASP 0115'

Unexpected error

/_private/test1.asp

A trappable error occurred in an external object. The script cannot continue

running.

Please help.

Thanks,

Nick Simonov

InvestorForce.com

nsimonov@investorforce.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...