Jump to content
Software FX Community

System.ComponentModel.LicenseException


User (Legacy)

Recommended Posts

I use the chart FX Lite and it works fine when I build my project to exe.

However when I build my form with chart FX Lite control in to dll, and using

reflection from another exe file to dynamically call that dll file, the

LicenseException happened.

The error message is as following,

System.Reflection.TargetInvocationException: Exception has been thrown by

the target of an invocation. ---> System.ComponentModel.LicenseException:

Couldn't get Run Time license for 'SoftwareFX.ChartFX.Lite.Chart'

Does anyone know how to solve this problem?

Thank you.

Link to comment
Share on other sites

I use the chart FX Lite and it works fine when I build my project to exe.

However when I build my form with chart FX Lite control in to dll, and using

reflection from another exe file to dynamically call that dll file, the

LicenseException happened.

The error message is as following,

System.Reflection.TargetInvocationException: Exception has been thrown by

the target of an invocation. ---> System.ComponentModel.LicenseException:

Couldn't get Run Time license for 'SoftwareFX.ChartFX.Lite.Chart'

Does anyone know how to solve this problem?

Thank you.

Link to comment
Share on other sites

This is by design in the .NET framework, this is done to prevent somebody

from wrapping a licensed control to bypass the license requirement. You must

add a reference to Chart FX in your .EXE's license resources (licenses.licx)

and this program needs to be compiled in a computer that has a Chart FX

license installed.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

This is by design in the .NET framework, this is done to prevent somebody

from wrapping a licensed control to bypass the license requirement. You must

add a reference to Chart FX in your .EXE's license resources (licenses.licx)

and this program needs to be compiled in a computer that has a Chart FX

license installed.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...