|
Error that just started to appear. |
Posted by Mattias Wardell on Apr-03-2014 19:25 |
|
Hi,
We have chart that has been working fine for several months but today I got this error, I?ve ordered a reset of the IIS but don?t know if it helps.
Is there anything else I can do?
--- The error message is as follows.
ChartDirector error '800a8000'
Error converting object pointer to type class -Area __ptr64
/v2/diagram_liten_vattenstand_lackage2.asp, line 25
--- The code is as follows
<%@ language="vbscript" %>
<%
Response.CacheControl = "no-cache"
Set cd = CreateObject("ChartDirector.API")
data = Split(Replace(Session(Request("pegel_x")),".",","),"X")
data2 = Split(Session(Request("pegel_namn_dg")),"D")
data3 = Split(Session(Request("pegel_namn_sg")),"S")
labels = Split(Session(Request("pegel_y")),"Y")
data1 = Split(Session(Request("pegel_indikering")),"I")
'data11 = Array(data1)
'Response.Write Session(Request("pegel_indikering"))
int_diagram = 280
If Request("diagram_storlek") > 72 Then
int_diagram = 440
End IF
Set c = cd.XYChart(int_diagram, 147)
' Set the plotarea at (30, 20) and of size 200 x 200 pixels
-- The line below is Llne 25.
Call c.setPlotArea(50, 9, (int_diagram-70), 113, &Hffffff, &Heeeeee, cd.LineColor, &Hc0c0c0, &Hc0c0c0).setGridWidth(1, 1, 1, 1) |
Re: Error that just started to appear. |
Posted by Peter Kwan on Apr-04-2014 02:59 |
|
Hi Mattias,
Does the error disappear after resetting the IIS? (You do not need to reboot the server,
just open a command shell, and enter "iisreset".)
If you are not already using ChartDirector 5.1, please upgrade to the latest version of
ChartDirector. There is a known issue in using older versions of "ChartDirector for
ASP/COM/VB" on 64-bit IIS with more than 4G of RAM.
Regards
Peter Kwan |
|