BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hello,
I have a community license for the Syncfusion product, I just finished configuring my application and realized every pdf file saved using the saveAsBlob method on the PdfViewer component comes with this message "Created with a trial version of Syncfusion Essential PDF".
I have generated and registered a Javascript License key for version 21.1.35 and added it to my main.ts file but all to no avail.
Kindly help me with a solution. Thank you!
We suspect that the document has a "Trial message" already, or it may have been downloaded using the trial version. You can load the document into Adobe Reader to confirm the same, also confirm whether the trial message occurred while loading the document or after the saveAsBlob method.
If the "Trial message" is already present in the document, we are unable to delete it. Kindly try with the different documents and let us know if the problem exists.
If you are facing the trial message while generating the PDF. Please find the details.
Syncfusion license keys are version and platform-specific and the generated license key is just a string that needs to be registered before any Syncfusion control is initiated.
To know about generating the license key,
https://ej2.syncfusion.com/aspnetcore/documentation/licensing/how-to-generate
To know about registering the license key,
https://ej2.syncfusion.com/aspnetcore/documentation/licensing/how-to-register-in-an-application
If you are using any EJ2 JavaScript files, please follow the procedures below to generate and register the license key.
We have introduced license key validation for Essential JS2 platforms from the 2022 Volume 1 release. This licensing key validation will enforce the developer to register a valid licensing key in an application while referring to any of the latest packages, either from npm or CDN.
Refer to the following blog for more information,
To know about generating and registering the license keys,
https://ej2.syncfusion.com/angular/documentation/licensing/license-key-generation
Could you please try cleaning your project, clear the NuGet cache, deleting the bin\obj folders and rebuild your application, then check whether it resolves the issue.
Hi Chinnamunia,
Thanks for your response, I have tried it using a new document and what I found is that the trial message is generated when the saveAsBlob method is called on the angular application. Loading it seems to work well from the ASP.NET Core API.
I have followed your recommendation on how to register the license key, I even went ahead to use two option, using the syncfusion-license.txt file and also registering it in the application directly, none seem to be working, not sure what I am doing wrong.
Kindly help as soon as possible. Attached are screenshots of the before and after generating a new copy using the saveAsBlob method.
Thanks.
As an addition to help figure out where the issue lies, attached is a screenshot of how I generated the license key I am using.
We suspect you have not updated both client and server versions. Could please confirm whether you are using the same client and server version?
For the client-side, you need to update the "@syncfusion/ej2-angular-pdfviewer" package in Angular sample that you have done already. For the server-side, you need to update the Nuget Package. (Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows).
Kindly Select the file formats platform and generate the key. Then you need to register the same key in both the server-side (web service) and client-side. This will resolve your issue.
Refer the following link to know how to get the license key:
https://help.syncfusion.com/common/essential-studio/licensing/how-to-generate
Refer the following link to know how to register the license key:
Server-side: https://help.syncfusion.com/common/essential-studio/licensing/how-to-register-in-an-application#aspnet-core
Client-side: https://help.syncfusion.com/common/essential-studio/licensing/how-to-register-in-an-application#angular
Hi Chinnamunia,
Trust you are doing great. Apologies for not replying to your last message.
The issue of trial message appearing on my generated pdf has started again, I didn't do anything new, however, I have updated the @syncfusion/ej2-angular-pdfviewer Angular package to version 22.1.34 and generated a new license key for it, but all to no avail.
Kindly let me know if there's something I am doing wrong.
Here's the key I am currently using so you can run it on your end, thank you.
We suspect that the license key for ASP.NET Core version 22.1.34 was not registered properly in the service application. Please ensure that the service application package version is updated to 22.1.34 (which should be the same as the client package version) and that the corresponding license key for that version is registered correctly in the application. It is important to register the license key on both the server and client sides. We have shared the documentation for your reference. Please refer to it and let us know if you have any concerns.
Documentations:
Regards,
Sinthiya K