Jump to content
Software FX Community
cosmin.rasina

ChartFX.WPF licence

Recommended Posts

Hi guys,

We develop an application that uses yours ChartFX.WPF charting component. We bought a developver licence for this. The problem that we have is that when running the application on other machines that don't have a licence installed the application crashes.

I tried to add a licenses.licx file to our exe project as embbeded resources with the following content:

ChartFX.WPF.Chart, ChartFX.WPF, Version=8.1.YYYY.ZZZZZ(our build number), Culture=neutral, PublicKeyToken=a1878e2052c08dce

but not luck. 

The error that we receive is the following one:

System.ComponentModel.LicenseException: Couldn't get Run Time license for 'ChartFX.WPF.Chart'
at ChartFX.WPF.Internal.SfxLicenseProvider.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3, LicenseProvider A_4)
at ChartFX.WPF.Internal.RegistryLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)

at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) 

Can you tell us what are we doing wrong ? Can you please provide us the steps for registering the licence in the application ? 

Thanks,

Cosmin 

 

Share this post


Link to post
Share on other sites

For the license to be included you need to compile the code that instantiates the chart as an exe. If you are using the chart inside a dll, make sure you include a "dummy" chart in the exe.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...