Posted 16 April 2026, 7:36 am EST
I have activate a valid license key on the machine using Visual Studio 2022, Tools → Mescius → License Manager. ASP.NET WebForms latest 2025v2 version.
My project is an ASP.NET WebForms application based on .NET Framework 4.8.1
The licenses.licx file are in Properties subfolder.
The embedded .gclicx file are in the root of project.
ASP.NET WebForms – Compilation Succeeds but Runtime LicenseException When licenses.licx / .gclicx Is Missing
I would like to confirm the expected licensing behavior for an ASP.NET WebForms application using ComponentOne controls (.NET Framework), based on the following tests we performed.
Test Scenarios
We tested different combinations by removing or excluding license files from the project:
Removing licenses.licx and keeping embedded resource Aleatica.Sep.WebApp.gclicx
The project compiles successfully
The project works ok at runtime
Modifying the embedded resource Aleatica.Sep.WebApp.gclicx
Excluding .gclicx from the project
Excluding .gclicx from the project and keeping licenses.licx as Embedded Resource
Removing both licenses.licx and .gclicx
In all cases:
The project compiles successfully
Errors occur only at runtime
Runtime Error Observed
At application startup (when a C1 control is instantiated), the following exception is thrown:
[LicenseException: No se puede conceder una licencia válida para el tipo C1.Web.Wijmo.Controls.C1Menu.C1Menu. Póngase en contacto con el fabricante del componente para más información.]
C1.Util.Licensing.ProviderInfo.Validate(Type type, Object instance, Boolean showNagDialog, Boolean useAppDomainTest) +1452
C1.Web.Wijmo.Controls.C1Menu.C1Menu.VerifyLicense() +43
C1.Web.Wijmo.Controls.C1Menu.C1Menu…ctor() +198
This occurs specifically when nor a valid embedded .gclicx file is present.
Once the license is activated, your project must include a valid embedded license file to run without any licensing errors. Since your project is an ASP.NET WebForms application based on .NET Framework, it can be licensed using either a licenses.licx file (design-time license) or a .gclicx file (runtime license).
If the machine does not have an activated license, the project will not embed a valid license file, and licensing errors will occur. Therefore, activating the license on the machine is a required step.
