C1Report .GetLicense Error 2016v1.413 in QA Server

Posted by: enrique.pv-ext on 15 October 2026, 7:43 am EST

  • Posted 15 October 2026, 7:43 am EST - Updated 15 October 2026, 7:48 am EST

    Hi all,

    in local DEV, all OK, generate report pdf.

    QA Server get error about it C1Report + License

    SystemInvaIidOperationException: Showing a modal dialog box or form when the applicaton is not running in Userlnteractive mode is not a valid operatiom SpecifJ the ServiceNotifcation or DefauItDesktopOnIy style to display a notifcation from a service application.

    System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    at sd.gkw(String a, sf b)
    at sd.GetLicense(LicenseContext a, Type b, Object c, Boolean d)
    at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
    at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
    at qx.m_a(Type a)
    at qx.m_c(Type a, sf& b)
    at C1.C1Report.C1Report..ctor()
    at ReportHelper.BuildUsersDetailReport(SepUser loggedUser, DataTable users) in

    licx contents:

    C1.Web.Wijmo.Controls.C1ProgressBar.C1ProgressBar, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Upload.C1Upload, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Input.C1InputPercent, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1ComboBox.C1ComboBox, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Tabs.C1Tabs, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Input.C1InputNumeric, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Calendar.C1Calendar, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Input.C1InputDate, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Expander.C1Expander, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1TreeView.C1TreeView, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1ReportViewer.C1ReportViewer, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Input.C1InputCurrency, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Dialog.C1Dialog, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1GridView.C1GridView, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    C1.Web.Wijmo.Controls.C1Menu.C1Menu, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea
    

    Please any help about it ?

  • Posted 16 October 2026, 5:03 am EST

    Hello Enrique,

    The license dialog can appear for several different license errors and warnings, so a few things are worth checking:

    1. Make sure a runtime license file (*.sa3licx) is embedded in the project before you build it.
    2. Check whether the project name on your QA build differs from the project name that was used to generate the *.sa3licx file. The file ties the license to the project’s name, so if the names differ, generate a new one, embed it again, then clean and rebuild the project.
    3. Confirm that a valid license is activated on the QA server. You can run the command “sa3client list --all” there to see which licenses are activated on that machine.

    Additionally, please remove version specific details from each license entry in the licx file.

    Remove: “, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea”

    Please let us know what you find, and we will take it from there.

    Regards,

    Uttkarsh

  • Posted 18 October 2026, 4:25 am EST

    Thanks all,

    1.) can I use powershell in QA webServer for check it?

    [Reflection.Assembly]::LoadFrom($dll).GetManifestResourceNames()

    1. I think so not, I’ll checkit.

    2. valid license is activated on the QA server (web server) ?? what’s means ? how-to activate license ? using Pipeline license activated in all web server for all environments (QA, Pre, Pro) ?

      Now, only we have Pipeline license in CICD server, not all web servers (QA, …)

    3. why remove version specific details from each license entry in the licx file ? if in DEV use specific assembly for C1 controls. Anyways, I’ll test it.

    Clarify: in this case, I publish manually, I generate publish using msbuild in my dev machine, with my sa3licx (runtime license for me), and I copy to QA web server.

  • Posted 19 October 2026, 4:54 am EST

    More info

    1.) powershell in QA webServer for check it?

    $dll = "C:\inetpub\wwwroot\YourApp\bin\xxxx.WebApp.dll"   # adjust path
    $asm = [Reflection.Assembly]::LoadFrom($dll)
    $asm.GetManifestResourceNames() | Where-Object { $_ -like "*.sa3licx" }

    all OK in dll, with license embedded:

    • xxxx.WebApp.xxxx.WebApp.sa3licx :white_check_mark: (licencia runtime)

    • xxxx.WebApp.xxxx.WebApp.gclicx (older)

    • xxxx.WebApp.dll.licenses

    1. I think so not, I’ll checkit.

    projectname : xxxx.WebApp

    build project: xxxx.WebApp.dll

    3) valid license is activated on the QA server (web server) ?? what’s means ? how-to activate license ? using Pipeline license activated in all web server for all environments (QA, Pre, Pro) ?

    Now, only we have Pipeline license in CICD server, not all web servers (QA, …)

    1. why remove version specific details from each license entry in the licx file ? if in DEV use specific assembly for C1 controls. Anyways, I’ll test it.

    Properties\licenses.licx embedded in csproj

    xxxx.WebApp.dll.licenses is compiled version for licenses.licx

    • Assembly: C1.Web.Wijmo.Controls.48

    • Version: 4.8.20261.413

    • Culture: neutral

    • PublicKeyToken: 9b75583953471eea

    ┌────┬─────────────────────────────────┐

    │ # │ Control (namespace) │

    ├────┼─────────────────────────────────┤

    │ 1 │ C1ProgressBar (C1ProgressBar) │

    ├────┼─────────────────────────────────┤

    │ 2 │ C1Upload (C1Upload) │

    ├────┼─────────────────────────────────┤

    │ 3 │ C1InputPercent (C1Input) │

    ├────┼─────────────────────────────────┤

    │ 4 │ C1ComboBox (C1ComboBox) │

    ├────┼─────────────────────────────────┤

    │ 5 │ C1Tabs (C1Tabs) │

    ├────┼─────────────────────────────────┤

    │ 6 │ C1InputNumeric (C1Input) │

    ├────┼─────────────────────────────────┤

    │ 7 │ C1Calendar (C1Calendar) │

    ├────┼─────────────────────────────────┤

    │ 8 │ C1InputDate (C1Input) │

    ├────┼─────────────────────────────────┤

    │ 9 │ C1Expander (C1Expander) │

    ├────┼─────────────────────────────────┤

    │ 10 │ C1TreeView (C1TreeView) │

    ├────┼─────────────────────────────────┤

    │ 11 │ C1ReportViewer (C1ReportViewer) │

    ├────┼─────────────────────────────────┤

    │ 12 │ C1InputCurrency (C1Input) │

    ├────┼─────────────────────────────────┤

    │ 13 │ C1Dialog (C1Dialog) │

    ├────┼─────────────────────────────────┤

    │ 14 │ C1GridView (C1GridView) │

    ├────┼─────────────────────────────────┤

    │ 15 │ C1Menu (C1Menu) │

    └────┴─────────────────────────────────┘

    QA web server, bin folder

    • C1.Web.Wijmo.Controls.48.dll : 4.8.20261.413, token 9b75583953471eea .

    • C1.Web.Wijmo.Controls.Design.48.dll : 4.8.20261.413.

    • C1.C1Report.4.8 , C1.Win.4.8 y C1.Win.Barcode.4.8 : 4.8.20261.796.

    • C1.Excel : 10.0.20261.269.

    • C1.Pdf y C1.Win.Pdf : 10.0.20261.276.

    • C1.Zip : 10.0.20261.13.

    Clarify: in this case, I publish manually, I generate publish using msbuild in my dev machine, with my sa3licx (runtime license for me), and I copy to QA web server.

    Point 3) clarifications, please, friends? any help very grateful!

  • Posted 19 October 2026, 7:00 am EST

    Hello Enrique,

    On point 3: yes, the pipeline license also needs to be activated on the QA server. If QA, Pre and Pro share the same machine, a single activation should cover all of them. You can check which licenses are active by running “sa3client list --all” on that machine, and make sure the builds on QA picks up the activation. For activation details, please see this thread:

    https://developer.mescius.com/forums/webforms-edition/pipeline-license-activation-restricted-network

    On removing the version details from the licx entries: if the assembly version used by the app differs from the one on the machine, license errors can appear. Removing the version, culture and public key token from each entry avoids this, so we suggested it to be safe.

    Please also check the version numbers in your Web.config at these two locations:

    → configuration > system.web > httpHandlers > add path=“WijmoControlsResource.axd”

    → configuration > system.web > compilation > assemblies > add assembly=“C1.C1Report.4.8…”

    The other details you shared look correct to us.

    Regards,

    Uttkarsh

  • Posted 20 October 2026, 3:09 am EST

    in QA web server, I active Pipeline License:

    C:\Users\zzzzz>sa3client list -all
    (Unknown Product)
        C1P-7688-xxxx-****-****-287
            State       : Valid
            Edition     : Studio Enterprise
            Version     : 2026.1.0.0
            Expiration  : Never Expires

    I stop pool, delete all in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root

    add in web.config:

    <httpHandlers>
    <add path="WijmoControlsResource.axd" verb="*" type="C1.Web.Wijmo.Controls.WijmoHttpHandler, C1.Web.Wijmo.Controls.48, Version=4.8.20261.413, Culture=neutral, PublicKeyToken=9b75583953471eea" validate="false"/>
    <add assembly="C1.C1Report.4.8, Version=4.8.20261.796, Culture=neutral, PublicKeyToken=594a0605db190bb9"/>
          </assemblies>

    runtime

     <dependentAssembly>
            <assemblyIdentity name="C1.C1Report.4.8" publicKeyToken="594a0605db190bb9" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-4.8.20261.796" newVersion="4.8.20261.796"/>
          </dependentAssembly>   

    I start pool, I get the same error.

    Any suggestions ?

    If remove version in Licenses.licx will work ? are you sure ?

    Licenses.licx not delete version. I’ll test when generate new version manually.

  • Posted 21 October 2026, 4:19 am EST - Updated 21 October 2026, 4:24 am EST

    I’ll try again, and the same error !!

    sa3licx is embedded

    projectname : xxxx.WebApp

    build project: xxxx.WebApp.dll

    in QA web server, I active Pipeline License:

    licx without specific version

    please, any help, please ?? any solution about it ??

  • Posted 21 October 2026, 4:57 am EST

    Hello Enrique,

    We checked and everything works as expected at our end. Could you please share the following information for further investigation?

    • Complete logs of your pipeline (include “sa3client list --all” command before building your project, so that we can see what licenses are active while building the app)
    • Enable SA3Client logs with the following command and share contents of the “C:\ProgramData\SA3\logs” directory with us.

      Enable logs:
    sa3client log --on
    

    Since the requested details are sensitive, please open a private ticket and share details there.

    Regards,

    Uttkarsh.

  • Posted 21 October 2026, 1:26 pm EST

    Clarification:

    0 - My dev machine has Developer license activated. And sa3licx in project.

    1 - building my project in my dev machine , for publish the webapp using msbuild

    2 - Later , I get zip the publish in my machine

    3. Copy zip publish file to QA Web Server (to C:\inetpub\ … for sample)

    4. QA WEb Server has pipeline license activated

    5. In this case, I do it manually, NOT USE CICD server (neither pipelines)

    where Enable SA3Client logs in my dev machine or QA web server ?

  • Posted 21 October 2026, 11:27 pm EST

    Hello Enrique,

    Since the issue is on QA server, please enable logs on QA Server and then rebuild your project. Once logs are generated, please share them with us.

    Regards,

    Uttkarsh.

  • Posted 22 October 2026, 2:04 am EST

    ok, enable logs in QA server, but I cannot rebuild my project, QA server not is dev machine, has not Visual Studio installed neither dev tools. QA server is web server, only IIS for windows server 2012.

    Is required rebuild project in QA server ???

  • Posted 22 October 2026, 4:16 am EST

    in QA server:

    C:\ProgramData\SA3>sa3client list -all

    (Unknown Product)

    C1P-7688-xxxx---287

    State : Valid

    Edition : Studio Enterprise

    Version : 2026.1.0.0

    Expiration : Never Expires

    C:\ProgramData\SA3>sa3client log --on

    Log is enabled.

    call page and I get error

    [InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.]
       System.Windows.Forms.Form.ShowDialog(IWin32Window owner) +1972
       sd.gkw(String a, sf b) +70
       sd.GetLicense(LicenseContext a, Type b, Object c, Boolean d) +287

    NOt logs in C:\ProgramData\SA3\logs

    please, help me, clarify “rebuild the project” ?

  • Posted 22 October 2026, 4:49 am EST - Updated 22 October 2026, 4:54 am EST

    In Dev server , local machine with VS 2022 sln and project

    (MSBuild not generate logs)

    Rebuild the project generate logs in local:

    C:\GIT\repos\xxx\src\Web\xxxx.WebApp>sa3client log --off

    Log is disabled.

    sa3client log --on

    Log is enabled.

    sa3client list all

    ComponentOne

    C1P-6181-dddd---022

    State : Valid

    Edition : ASP.NET WebForms Edition

    Version : 2025.2.0.0

    Expiration : Never Expires

    C1S-4369-aaaa---033

    State : Valid Trial

    Edition : Studio Enterprise

    Version : All supported versions

    Expiration : 10/29/2026, 7 day(s) remaining

    analizing logs from C:\ProgramData\SA3\logs

    These log files are not application errors. They are ComponentOne (MESCIUS/GrapeCity) licensing traces for WinForms. There are 56 files, all generated on 22/10/2026 at 10:35 on machine xxxxxx. They appear to have been created during a build process or when opening a designer in Visual Studio.

    By product

    • C1P (2026.1.0.0): 10 files. The license shows State=e and Trial=False, so it appears to be a valid full license (C1P-6181-…-022).

    • C1PJ (2026.1.0.0): 18 files, with no license data.

    • C1S: 16 files. The license shows State=e and Trial=True, and expires on 29/10/2026, which is 7 days from now.

    • C1SJ: 12 files, with no license data.

    What this means

    • There are no exceptions or error messages.

    • C1S (probably C1.Win.C1Sizer or a related control) is running in trial mode. After 29/10, the evaluation dialog or watermark may start appearing, and builds may fail if the license is validated during the build process. It would be advisable to activate a full license or remove the dependency.

    • The C1PJ and C1SJ files without license data are normal. They are auxiliary components.

    • These files are generated in large numbers, typically one per license load operation. They do not require any action.

    Rebuild or build, it’s appear trial message, but I have C1P license:

  • Posted 22 October 2026, 5:41 am EST - Updated 22 October 2026, 5:46 am EST

    In local dev, debugging app with VS 2022,

    it’s appears:

    NOTE: sa3licx has C1P !!!

    and trial message

  • Posted 22 October 2026, 7:55 am EST

    Hello Enrique,

    Thank you for sharing details.

    We have responded to the ticket you have created on private portal: EAS-56114-B5J057

    Regards,

    Uttkarsh.

  • Posted 22 October 2026, 11:06 am EST

    licx

    C1.Web.Wijmo.Controls.C1Input.C1InputCurrency, C1.Web.Wijmo.Controls.48

    C1.Web.Wijmo.Controls.C1Dialog.C1Dialog, C1.Web.Wijmo.Controls.48

    C1.Web.Wijmo.Controls.C1GridView.C1GridView, C1.Web.Wijmo.Controls.48

    C1.Web.Wijmo.Controls.C1Menu.C1Menu, C1.Web.Wijmo.Controls.48

    C1.C1Report.C1Report, C1.C1Report.4.8

    C1 Pipeline Azure Devops

    Details

    Creating Git Tag

    0 error(s), 0 warning(s)

    Generate Changelog

    0 error(s), 0 warning(s)

    Build .NET Framework Application

    2 error(s), 3621 warning(s)

    src\Web\xxxx.WebApp\Properties\licenses.licx(21,0): Error LC0004: Exception occurred creating type ‘C1.C1Report.C1Report, C1.C1Report.4.8, Version=4.8.20261.796, Culture=neutral, PublicKeyToken=594a0605db190bb9’ System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

    Process ‘msbuild.exe’ exited with code ‘1’.

  • Posted 23 October 2026, 2:27 am EST

    More info:

    C1Report is obsolete,

    no viewer control available for C1FlexReport in the C1 WebForms suite

    if you need to view reports, you will have to continue using C1Report with C1ReportViewer instead of upgrading to C1FlexReport.

    Using the C1Reports API , apply it using WebForms Edition license ?

    C1.Excel.C1XLBook, C1.Excel in licx ??

    https://developer.mescius.com/forums/webforms-edition/c1report-obsolete-message-for-c1reportviewer-2025v2-399

    For your information, the C1Report component was replaced by C1FlexReport a long time ago. Since then, C1Report has been marked as obsolete, meaning it no longer receives new features or bug fixes.

    However, please note that there is no viewer control available for C1FlexReport in the C1 WebForms suite. Therefore, if you need to view reports, you will have to continue using C1Report with C1ReportViewer instead of upgrading to C1FlexReport.

    https://developer.mescius.com/forums/webforms-edition/export-to-xlsx-xls-and-pdf-c1reportviewer-2025v2-399

    Using the C1Reports API: This approach does not use the viewer to render the report, but it simply loads the selected report and exports it to the required format.

    https://developer.mescius.com/forums/webforms-edition/string-a-c1-c1report-section-2025v2-399

    https://developer.mescius.com/forums/webforms-edition/c1reportviewer-in-c1dialog-2025v2-399-gridview-rowcommand-updatepanels

    It seems you are using an older version (our sample uses latest version), could you please try removing the C1Excel license entry we mentioned earlier?

    C1.Excel.C1XLBook, C1.Excel

    https://developer.mescius.com/forums/webforms-edition/c1reportviewer-in-c1dialog-2025v2-399-gridview-rowcommand-updatepanels

    to add references to C1.C1Report.4.8 from “C:\Program Files (x86)\MESCIUS\ComponentOne\ASP.NET Web Forms\bin\v4.8” path to the project and license entry for Excel in licenses.licx file:

    C1.Excel.C1XLBook, C1.Excel

  • Posted 23 October 2026, 9:21 am EST

    Hello Enrique,

    We have responded to the ticket you created on the private portal (EAS-56114-B5J057).

    To avoid confusion and ensure no details are missed, we kindly request that you continue the discussion in a single thread.

    Regards,

    Uttkarsh.

  • Posted 26 October 2026, 4:03 am EST

    Do I create another thread in this forum ? or continue the private ?

  • Posted 26 October 2026, 4:49 am EST

    Hello Enrique,

    For license-related queries, we recommend submitting tickets through our private portal, as investigating such issues may require sharing sensitive information.

    Since we are already discussing this issue in a private support thread, we recommend continuing the conversation there to avoid confusion and ensure all relevant details remain in one place.

    However, if the current issue has been resolved and you have a different concern, please feel free to open a new ticket.

    Regards,

    Uttkarsh

Need extra support?

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

Learn More

Forum Channels