Licensing error
In a ASP.NET Web forms application I updated the nuget and the update to the latest version of the licensing (v. 31.1) gives me this error:
'System.MissingMethodException' exception
System.String Syncfusion.Licensing.FusionLicenseProvider.GetLicenseType(Syncfusion.Licensing.Platform)
in an EJSIGNATURE object, in the following code:
function onchange() {
try {
var obj = $("#<%=sgFirma.ClientID%>").ejSignature("instance");
$("#<%=hdf_Firma.ClientID%>").val(obj._canvas[0].toDataURL());
}
catch (err) {
alert(err.name + ":" + err.message);
}
}
Hi Pio,
The error:
Method
not found string
Syncfusion.Licensing.FusionLicenseProvider.GetLicenseType(Syncfusion.Licensing.Platform)
suggests that your application is referencing a version of
Syncfusion.Licensing.dll that does not contain the method
GetLicenseType. This typically happens when:
- There's a version mismatch between Syncfusion packages.
- The Syncfusion.Licensing NuGet package wasn't properly updated.
- The old version licensing dll is still being used due to caching or build artifacts.
Here’s a step-by-step guide to resolve this:
1. Ensure All Syncfusion Packages Are on the Same Version
Make sure all Syncfusion NuGet packages, including Syncfusion.Licensing, are updated to exactly version 31.1.*
You can do this by running:
|
dotnet list package --outdated |
Then update all Syncfusion
packages:
Eg:
|
dotnet add package Syncfusion.Licensing --version 31.1.23 |
2. Clean and Rebuild the Project
Sometimes old DLLs linger in the build folders. Do a full clean:
- Delete bin and obj folders manually.
- Clear NuGet cache:
|
dotnet nuget locals all –clear |
- Rebuild the solution.
3. Verify License Key Registration
Ensure the license key is registered before any Syncfusion component is initialized:
|
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(“YOUR_LICENSE_KEY”); |
Overview
of Syncfusion license registration - Syncfusion
If you are still facing an issue, we request you to share with us the simplified sample to replicate the issue with us. So that we can assist with you further in this.
Please let us know any concerns.
Regards,
Prashanth S.
It is not possible to update all packages to the same version, webform is no longer supported
Hi Pio,
Since EJ1 packages deprecated, please upgrade to the equivalent core or Winforms packages for webforms AspNet packages used in your project for v31.1.*
|
Packages used |
Equivalent Packages |
|
Syncfusion.OfficeChartToImageConverter.AspNet |
Syncfusion.OfficeChartToImageConverter.WinForms |
|
Syncfusion.Pdf.OCR.AspNet |
Syncfusion.PDF.OCR.Net.Core |
|
Syncfusion.Pdf.AspNet |
Syncfusion.Pdf.Net.Core |
|
Syncfusion.Presentation.AspNet |
Syncfusion.Presentation.Net.Core |
|
Syncfusion.PresentationToPdfConverter.AspNet |
Syncfusion.PresentationToPdfConverter.WinForms |
|
Syncfusion.XlsIO.AspNet |
Syncfusion.XlsIO.Net.Core |
Please let us know if you have any concerns.
Regards,
Vengadesh K
- 3 Replies
- 3 Participants
-
PL Pio Luca Valvona
- Oct 9, 2025 10:23 AM UTC
- Oct 15, 2025 03:02 PM UTC