Aspose Total temporary license causing evaluation wartermark

Hi
I am using Aspose Total Temporary License but it is still causing a watermark on Aspose Slides.
I am trying to set the license like this :

        com.aspose.slides.License slidesLicense = new com.aspose.slides.License();
        slidesLicense.setLicense("C:/Users/sehgsu/IdeaProjects/jupiter/masa-shareholder-service/src/main/resources/license.lic");

        // Set the license for Aspose.Cells
        com.aspose.cells.License cellsLicense = new com.aspose.cells.License();
        cellsLicense.setLicense("C:/Users/sehgsu/IdeaProjects/jupiter/masa-shareholder-service/src/main/resources/Aspose.TotalProductFamily.lic");

License does not get set for slides, gives error : class com.aspose.slides.ms.pbdb106a0.co: License parsing error. —> class com.aspose.slides.ms.pbdb106a0.co: Signature check error. —> java.security.SignatureException: Bad signature length: got 256 but was expecting 128

I am able to set it for cells.
I am trying to copy charts from excel to pptx, the generated pptx still has a watermark.
Can you please help ?

@sukritisehgal

It seems you are encountering an issue with setting the license for Aspose.Slides, which is resulting in an evaluation watermark despite using a temporary license. The error message you are receiving indicates a problem with the license file for Aspose.Slides, specifically a “License parsing error” and “Bad signature length.”

Here are some steps you can take to troubleshoot and resolve this issue:

  1. Verify License File: Ensure that the license file you are using for Aspose.Slides is valid and not corrupted. The license file should be a plain-text XML file and must not be modified in any way. Even a small change, such as an extra line break, can invalidate the license.

  2. Correct License Path: Double-check the path you are using to set the license. Make sure that the path is correct and that the file exists at that location. You can also try using a relative path instead of an absolute path to see if that resolves the issue.

  3. Separate License Files: It appears you are trying to set two different licenses (one for Aspose.Slides and another for Aspose.Cells). Ensure that you are using the correct license file for each product. The license for Aspose.Total may not be compatible with Aspose.Slides if it is not specifically for that product.

  4. Check for Multiple Instances: If you have multiple instances of Aspose products installed, ensure that you are referencing the correct version of the Aspose.Slides library that corresponds to the license file you are using.

  5. Temporary License: If you are using a temporary license, ensure that it has not expired. Temporary licenses are typically valid for a limited time, and if the license has expired, it will revert to evaluation mode.

  6. Testing License Activation: After setting the license, you can test if it has been activated successfully by generating a PowerPoint presentation. If the watermark is still present, it indicates that the license was not applied correctly.

If you continue to experience issues after following these steps, consider reaching out to Aspose support for further assistance, as they can provide more specific guidance based on your situation.

Feel free to ask if you have any more questions or need further clarification!

@sukritisehgal,

Are you using an older version of Aspose.Slides for Java API with your temporary license? Could you please tell us what version of Aspose.Slides you are currently using? Please note, the licensing mechanism has been enhanced. New licenses are signed with SHA256 while old licenses were signed with SHA1. Unfortunately SHA256 licenses cannot be used with older API versions (usually more than 2-3 years old), which might give you an exception regarding to signatures. Please try using your license with the newer API version.

Let us know if you still find any issue.

Hi
Thanks for the quick response.

  1. Confirmed the license file is a plain text XML and is not modified in any way.
  2. Double checked and tried both relative and absolute paths. I am able to apply it on aspose cells but not on aspose slides.
  3. This is most probably the issue. as per my understanding Aspose.Total license will work for all use cases of aspose including cells and slides. Will we have to buy a separate license for slides ?
  4. I only have 1 version each of aspose cells and slides installed.
  5. I bought the license 2 days ago, and is valid till 2025-05-02
  6. I cannot test since teh license is not getting applied to aspose slides (Refer point 3)

Thanks
Sukriti

I am using aspose slides 16.8.0
Which version should I use ?

@sukritisehgal,

Kindly ensure that the version (of the APIs) you are using is not 2-3 years old. It is highly recommended to use the latest version of the APIs. Alternatively, you may consider using Aspose.Slides v23.x or newer versions.

Thanks
I am looking to download the latest version.
Can you please share where I can find the 25.3 jar for aspose slides via Java ?
I can only see the .pom file here : Aspose Repository Browser /java/repo/com/aspose/aspose-slides/25.3/

@sukritisehgal,

Please visit the Aspose.Slides for Java 25.3 Release Page. Click on the “Package Explorer” link to access the available files. From there, you can download the required jar file, “aspose-slides-25.3-jdk16.jar,” as per your needs.

Feel free to reach out if you need any further assistance.

Thanks! This was helpful!

@sukritisehgal,

It’s good to hear that you have figured it out. If you have any additional questions or feedback, don’t hesitate to reach out to us.