Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Jun 16, 2022 12:08 pm

Hi,

Currently I've bought the spire.doc "One Developer Subscription" to deploy my application on a SaaS infrastructure (Amazon Web Service). On my local computer It works fine converting doc to pdf, but after deploying in AWS, the document is watermarked with the text:

Evaluation Warning: The document was created with Spire.Doc for JAVA.

Could I fix the problem if I update the license to an OEM version?

borja981
 
Posts: 4
Joined: Thu Jun 16, 2022 7:50 am

Fri Jun 17, 2022 2:14 am

Hello,

Thanks for your inquiry.

To help us investigate the issue, could you please provide the following information?
1. Which way are you using for load the license? Such as filePath or LicenseKey.
2. Which project type are you using? Springboot or others?

Thanks in advance.
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Fri Jun 17, 2022 8:31 am

Hello Andy,

About the information you need:

1. The license is loaded by file path once when the program is run:
Code: Select all
File licenseFile = new File("license.elic.xml");
com.spire.license.LicenseProvider.setLicenseFile(licenseFile);


2. I'm using a microservices architecture with Springboot. The license applies to two micros in the same ecosystem that are deployed on docker images

Thanks in advance.

borja981
 
Posts: 4
Joined: Thu Jun 16, 2022 7:50 am

Fri Jun 17, 2022 9:21 am

Hi Borja,

Thanks for your sharing.

Please try another more stable way of setting the license. Here is the sample code.

Code: Select all
LicenseProvider.setLicenseKey(keyValue);


The parameter "keyValue" is from your license file(see the screenshoot). Please note that your key value is start with "BbICLy" and end with "U59sw=". Hope it can help you solve the issue.


E4BB50DC-8C3C-4255-8155-494CF9799329.png
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.Doc