[URGENT] New renewal license key does not work for PPT to PDF conversion for Aspose Total

[URGENT, RENEWAL START - 4/29] New renewal license key does not work for PPT to PDF conversion for Aspose Total

This is for Java program.

Sample:

private static void checkSlidesLicense(String licenseLocation) {
    com.aspose.slides.License license = new com.aspose.slides.License();
    System.out.println("Checking license...");
    if (!license.isLicensed()) {
        File licenseFile = new File(licenseLocation);
        if (licenseFile.exists()) {
            license.setLicense(licenseLocation);
            System.out.println("License set.");
        } else {
            System.out.println("SLIDES License was not found.");
        }
    }
}

We have similar program to check the license while converting word to pdf and works without issue:

private static void checkWordsLicense(String licenseLocation) {
    try {
        System.out.println("Checking license...");
        com.aspose.words.License license = new com.aspose.words.License();

        if (!license.isLicensed()) {
            System.out.println("License not set. Setting license...");
            File licenseFile = new File(licenseLocation);
            if (licenseFile.exists()) {
                System.out.println("License file exists.");
                license.setLicense(licenseLocation);
                System.out.println("License set!");
            } else {
                System.out.println("WORDS License was not found.");
            }
        }
    } catch (Exception e) {
        System.out.println("Failed to load Aspose license. ");
    }
}

@chirag.jain.icu,

Thanks for the code snippet and details.

What actual error or exception occurs when setting the license for Aspose.Slides? Please avoid handling the exception and allow your program/code to throw it directly. Provide the complete exception or error message string, along with the version of Aspose.Slides for Java you are using. Once we have this information, we will investigate the issue and assist you further.

We received the new license key from Aspose and that worked for us.

@chirag.jain.icu,

Thank you for the update.

It’s good to know that the new license is now working for Aspose.Slides as well. If you have any further questions or feedback, please don’t hesitate to reach out to us.