|
Error converting argument 1 to type 6 |
Posted by Mattias W?rdell on Apr-26-2011 15:31 |
|
Hi,
I?ve have a diagram from ChartDirector thats been working for months but all of the sudden it stopped working. As far as I can see all data is correct.
I get this error
ChartDirector error '800a8000'
Error converting argument 1 to type 6
/v2/diagram_vf.asp, line 91
The line is:
Call c.addInterLineLayer(lineLayer.getLine(0),lineLayer.getLine(1), &H808BC5ED, _
&H808BC5ED)
It seems to a problem using this
Set lineLayer = c.addStepLineLayer()
Call lineLayer.addDataSet(upperY, &H8BC5ED, "")
Call lineLayer.addDataSet(lowerY, &H8BC5ED)
Call lineLayer.setLineWidth(0) |
Re: Error converting argument 1 to type 6 |
Posted by Peter Kwan on Apr-26-2011 23:41 |
|
Hi Mattias,
This problem is very strange. The code looks fine.
I suspect the problem is due to memory corruption for unknown reasons. May be you can try to reset the server to see if this problem goes away.
The IIS will cache the ChartDirector DLL in memory cache. If the IIS is not reset for a long time, the memory cache may become corrupted. If this is the case, the solution is to reload the ChartDirector DLL from file (rather than using the memory cache). Resetting the server will cause all cache to be reloaded. Another method is to enter "iisreset" from the command line.
If the above still does not solve the problem, we may need to diagnose the problem in more details. In this case, we may need a more complete charting code from you to try to see if we can reproduce the problem.
Regards
Peter Kwan |
|