Page 1 of 1

Getting "No valid license available" with class library and WPF

Posted: Fri Mar 03, 2023 10:05 am
by MickaelBNeron
When using LightningGraph in Windows Applications, it works. When using it in a class library with WinForm, it works. When using it in a class library with WPF, I am seeing all black with a red message "No valid license available".

This is even though I am correctly calling LightningChart.SetDeploymentKey before using the graphs, and all graphs shown outside of the class library (directly in the main application) work fine. Any clue?

Re: Getting "No valid license available" with class library and WPF

Posted: Tue Mar 07, 2023 11:45 am
by ArctionKestutis
This particular message may be shown, if LightningChart skipped license check for some reason. For example, it may happen if Chart is never attached to a loaded element tree and chart is not in Headless Mode.

Re: Getting "No valid license available" with class library and WPF

Posted: Thu May 18, 2023 2:28 am
by PaulaHubbard
Hello ArcctionKestutis

Thank you for sharing this , but if it is the case that LightningChart skips the license check for unknown reasons , what is the best solution ?

Re: Getting "No valid license available" with class library and WPF

Posted: Fri May 19, 2023 7:21 am
by ArctionKestutis
The best solution - contact Support by email and share your case.