Page 1 of 1

Arction.Licensing Exception.

Posted: Mon Mar 13, 2017 7:31 am
by ehdrnsep
Hello.
I upgraded v8.
It works when I create a new project.
However, when I apply it to my old project, I get an exception.

Code: Select all

Arction.WinForms.Charting.LightningChartUltimate.SetDeploymentKey(deploymentKey);
'System.Exception'(Arction.Licensing.dll)
StackTrace :
위치: A.c1c85a5594c49c246fa974974de9e6823.c9a3fb9dcdd40fcbeff1924aa16f74434(String c812cb451be1167ddf506866cab568a95, String c7797435748f2246900b453934b21be71)

Re: Arction.Licensing Exception.

Posted: Mon Mar 13, 2017 12:39 pm
by ArctionKestutis
Hi,

ALF files are compatible only with v8, not with with v7.
For deployment with v7 you still must use LicenseKey property.

Hope this helps.
All the best,
Kestutis

Re: Arction.Licensing Exception.

Posted: Tue Mar 14, 2017 12:26 am
by ehdrnsep
I used v8 deployment key.
"Copy deployment key to" from the license manager.

I finded my project problem.
My project visual studio exception setting is System.Exception in clr.
I did my project exception setting change.
The chart is displayed good.

I seem my deployment key is no problem.
Is there a reason to raise an exception in Arction.Licensing.dll?

Re: Arction.Licensing Exception.

Posted: Tue Mar 14, 2017 6:59 am
by ArctionKestutis
Hello,

It is possible to have all kind of exceptions during processes of LightningChart initiation or frame rendering. However, not all are critical and require special attention from users. As much as possible LightningChart code try to handle exception internally, but provide information about event. If you subscribe to _chart.ChartError event you can get more information about the source and get more details. Only seeing that information we can say how critical it may be. If you want handle exception for yourself (remove possible source from app), you can ask to halt program in case one is met:

Code: Select all

_chart.Options.ThrowChartExceptions = true;
All the best.