New License File received in 2025 failing with the following error if we replace old license 2024 file it works

2025-06-03 00:01:03.243 >>> Register Aspose license

2025-06-03 00:01:03.243 >>> Register Aspose license > System.ArgumentException: Unsupported algorithm
at #=zNuhiYcJEjsRNxIAwhr9Ij1hZwErv.#=zKZBoZYwpt4FK(#=zWxZaMVwB8DS6bbjYfORPbzVxJDbQ #=zLUfuUlc=, Byte[] #=zZMWlpow=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zMSHi$$Wy6UZdvFqpCTcxWXZNy5IO(Object #=zWDkdOyY=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=z6ZxVUnQWOxXAf$E5QtXf4IURhsk3(MethodBase #=zWDkdOyY=, Boolean #=zLKb5EtE=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=z5CHMNAVeflVTSG9TTOn5YC$wbPNF0G6mvRojosg=(#=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4= #=zWDkdOyY=, #=q3$BK64kJrfLjnBtjkzhjhHKeoXu0mprhvraVA2l9kwA= #=zLKb5EtE=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=z1VVOFRc9n6pR_Zt8y_933sjDANGSBUPkXQ==()
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zimpozfx1sPNhdslhaYHDlpY=(Boolean #=zWDkdOyY=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zMSHi$$Wy6UZdvFqpCTcxWXZNy5IO(Object #=zWDkdOyY=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zLVNqM2kpvBlAN3pQnQ==()
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zeIBqpf4eNTpKiKsO7EPcNj7IMbZ1WCfAGg==(Object #=zWDkdOyY=, UInt32 #=zLKb5EtE=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zimpozfx1sPNhdslhaYHDlpY=(Boolean #=zWDkdOyY=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zLnf6bU2gzFSC2_jsOoVppyA$0HgbMRL$jw==()
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zn8zCNo5Ng5MRSSCMgtsz9TPmdXsxu5SUwQ==(Object[] #=zWDkdOyY=, Type[] #=zLKb5EtE=, Type[] #=z9Ez5VsE=, Object[] #=zApGgiyg=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zSA0jaQklvNTHmH6g4CV9InvbJX1Kgc1koZjldMo=(Stream #=zWDkdOyY=, String #=zLKb5EtE=, Object[] #=z9Ez5VsE=, Type[] #=zApGgiyg=, Type[] #=zrVHxW0o=, Object[] #=zSszZUBs=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zHhC3m4Xx5Sq9mWUSzV19UHHyyL7X9xlYoRSF5YA8tqPZ(Stream #=zWDkdOyY=, String #=zLKb5EtE=, Object[] #=z9Ez5VsE=)
at #=qAPeHTVJJWbx2hGWGRgpDD0x1BL_FtXQwaRP2HtiFlQ4=.#=zm6JgrKnUWAGO$4mgdWMhabDvdw$S(Stream #=zWDkdOyY=, String #=zLKb5EtE=, Object[] #=z9Ez5VsE=)
at Aspose.Pdf.License.SetLicense(Stream stream)

@venkat2222

The error message “Unsupported algorithm” that you are encountering when trying to register the new license file for Aspose indicates that there may be an issue with the compatibility of the license file with the version of the Aspose library you are using. Here are some steps you can take to troubleshoot and resolve this issue:

  1. Check License Compatibility: Ensure that the new license file you received is compatible with the version of the Aspose library you are using. If you are using an older version of the library, it may not support the algorithms used in the new license file.

  2. Update the Library: If possible, update your Aspose library to the latest version. This can often resolve compatibility issues with new license files.

  3. Verify License File Integrity: Make sure that the license file has not been modified or corrupted. You can open the license file in a text editor to check its contents and ensure it looks correct.

  4. Contact Support: If the issue persists after checking the above points, consider reaching out to Aspose support. You may need to share your license file with them privately for further investigation.

  5. Review Similar Issues: There have been similar reports in the community regarding license issues. For instance, users have encountered the same error when trying to load their license files. They were advised to ensure they were using the latest version of the API and to check the integrity of their license files.

By following these steps, you should be able to identify and resolve the issue with the new license file. If you need further assistance, feel free to ask!