License error spread 16

Posted by: kshitij.gowari on 24 April 2025, 1:37 am EST

  • Posted 24 April 2025, 1:37 am EST

    We are getting a License not found for Spread Net v16 EN is not found error, we are building the application using Visual Studio 2022. We have purchased a License and have activated it on the build server.

  • Posted 24 April 2025, 10:46 pm EST

    Hi kshitij,

    This issue generally occurs when the runtime license file(.gclicx) is not there in your project or has incorrect/incomplete entries. To license an application that uses Spread.NET, a runtime license (.gclicx file) must be added to the project as an embedded resource. This .gclicx file can be generated with different names based on your project scenario. The two scenarios are discussed below:

    (1) Using Spread Controls Directly in Your Executable Project:

    In this case, you need to generate a .gclicx file named “ApplicationName” and embed it in your application.

    https://developer.mescius.com/spreadnet/docs/latest/online-win/overview/PowerTools_Help19/spwin-product-install/spwin-createruntimelicense

    (2) Creating a Class Library/User Control with Spread.NET Control and Referencing These DLLs in Your Main Executable Project:

    In this case, you need to generate a .gclicx file named “ApplicationName.ClassLibraryName” and embed it in the class library project.

    https://developer.mescius.com/componentone/docs/license/online-license/license-user-controls.html - This is C1 Licensing documentation, but it works same for Spread.NET. You just need to use the Spread.NET v16 product ID “8db9b5fd-1f83-4a4d-b810-deb7df14e5bb”.

    If you still face any issues, please share the following information:

    (1) A screenshot showing of the GCLM showing that the Spread.NET v16 license is active on your system

    (2) The .gclicx files that you generated by following the scenarios above

    (3) Some details about the structure of your project. Are you creating a Class Library/User Control using Spread control? If yes, please provide more information about the reference structure, such as which project references which, and which ones use Spread control?

    Thanks & regards,

    Aastha

  • Posted 25 April 2025, 2:40 am EST

    Hi Aastha,

    I tried using the solutions that you stated above but none seems to be working for me.

    I’ve attached the screenshots of GCLM and .gclicx file.

    I’am using Spread for Tabular structures in my project. I’ve included the .gclicx file in my root project.

    Yes, I’m creating a class library MWControl and ClockControl which are referenced in my root project(TraderWorkstation).

  • Posted 25 April 2025, 2:41 am EST - Updated 25 April 2025, 2:46 am EST

  • Posted 28 April 2025, 3:35 am EST

    Hi Kshitij,

    As per our understanding, ‘TraderWorkstation.exe’ is your entry application, and MWControl and ClockControl are class libraries that use the Spread control and are referenced by TraderWorkstation.

    In your case, you need to license your user controls by following the steps given in this documentation: https://developer.mescius.com/componentone/docs/license/online-license/license-user-controls.html

    Here’s how you can do it for your setup:

    1. Open the Command Prompt.
    2. Go to the folder where you want to create the .gclicx file.
    3. To license the MWControl library, run this command:
    C:\ProgramData\GrapeCity\gclm\gclm.exe "8db9b5fd-1f83-4a4d-b810-deb7df14e5bb" -lc ./mwcLicense.gclicx "TraderWorkstation.MWControl.dll"

    This will create a mwcLicense.gclicx license file. Add this file to the Properties folder of the MWControl project, and set its Build Action to Embedded Resource.

    1. Similarly, to license the ClockControl library, run this command:
    C:\ProgramData\GrapeCity\gclm\gclm.exe "8db9b5fd-1f83-4a4d-b810-deb7df14e5bb" -lc ./ccLicense.gclicx "TraderWorkstation.ClockControl.dll"

    Again, add the generated ccLicense.gclicx file to the Properties folder of the ClockControl project and set its Build Action to Embedded Resource.

    1. After adding the license files, rebuild your projects.

      Please check and let us know if you still face any issues.

    Note: The .gclicx naming is as per EntryAppName.C1ControlProjectName.gclicx format. In case there are multiple layers of projects between the C1ControlProject and the EntryApp, those project names can be ignored. Our licensing model only checks for the entry app’s name and the C1ControlProject’s name.

    Hope this helps you!

    Thanks & regards,

    Aastha

  • Posted 28 April 2025, 5:53 am EST

    Hi Aastha,

    I’ve tried the above solution but none works.

    I also tried to replace all the v16 dlls with v12 dlls and changed the licenses.licx file accordingly but then too I’m facing same runtime issue.

    Even after licensing the control libraries this issue persists.

  • Posted 29 April 2025, 5:39 am EST

    Hi Kshitij,

    For further investigation of this issue, we need some confidential information. Therefore, we have migrated this issue to our private portal. We kindly request you track the following case “CAS-57135-H3X4P2” for further updates on this issue: https://developer.mescius.com/my-account/my-support/case/b7a78c73-c924-f011-8c4e-6045bdf03fcb

    Thanks & regards,

    Aastha

  • Posted 2 May 2025, 3:43 am EST

    Hi Aastha,

    Is spread 16 supported in .net8 ?

  • Posted 15 May 2025, 12:31 am EST

    Hi Kshitij,

    Yes, Spread.NET v16 is supported in NET8.

    Thanks & regards,

    Aastha

Need extra support?

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

Learn More

Forum Channels