Arction.Licensing Exception.

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
ehdrnsep
Posts: 48
Joined: Mon Jan 12, 2015 6:52 am

Arction.Licensing Exception.

Post by ehdrnsep » Mon Mar 13, 2017 7:31 am

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)

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Arction.Licensing Exception.

Post by ArctionKestutis » Mon Mar 13, 2017 12:39 pm

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
Last edited by ArctionKestutis on Tue Mar 14, 2017 6:41 am, edited 1 time in total.

ehdrnsep
Posts: 48
Joined: Mon Jan 12, 2015 6:52 am

Re: Arction.Licensing Exception.

Post by ehdrnsep » Tue Mar 14, 2017 12:26 am

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?

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Arction.Licensing Exception.

Post by ArctionKestutis » Tue Mar 14, 2017 6:59 am

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.

Post Reply