Help with licensing issue

Posted by: Victor.m.charles.civ on 12 September 2019, 12:11 pm EST

  • Posted 12 September 2019, 12:11 pm EST

    Hi,

    When trying to run a sample project receive from ComponentOne tech support, I am receiving error message.

    LicenseException: A valid license cannot be granted for the type C1.Web.Mvc.LicenseDetector. Contact the manufacturer of the component for more information.


    On block of code beloe:

    @(Html.C1().FlexGrid().Id("grid").AutoGenerateColumns(false)
    .Bind(m => m.Bind(Model).DisableServerRead(false))
    .Columns(c =>
    {
    c.Add().Binding("Active").AllowSorting(false).AllowDragging(false).AllowMerging(false);
    c.Add().Binding("Last");
    c.Add().Binding("First");
    c.Add().Binding("Sales");
    })
    .ItemFormatter("ItemFormatter")
    .Height(500)

    How do I fix this error?

    Thanks,
    Victor
  • Replied 12 September 2019, 2:31 pm EST

    Hi Victor,

    This might be because of the version used by C1.Web.Mvc control is compatible with C1 serial key activated on your machine.

    For e.g the shared sample used the latest build version <4.0.20192.225> which will be compatible with the Studio Enterprises or Studio Ultimate serial key purchased in 2018v2 version or after.

    Could you please let us know on which machine you are trying to execute the sample and it is activated or not?

    Regards,
    Manish Gupta
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels