'This license file is corrupted' error on updating to Aspose.Cells v 24.11.0

Hi, we have a valid license for the Aspose.Cells for .NET product but we’re seeing an intermittent error with the License.SetLicense(Stream stream) method in Aspose.Cells, Version=24.11.0.0: This license file is corrupted. There have been no recent changes to how the license is configured (including encryption/decryption) in our application. It does not occur every time, but we never saw this error prior to version 24.11 to which we upgraded recently.
Could you please help resolve this? Thank you.

@AvneetK
Would you like to provide your license file? We will check it soon.

In order to send a private message with attachment (license file - please zip the file first), please click on my name and find “Message” button. Now, please attach the zipped archive containing the license and send us. We will investigate the issue with your provided license.
Also, see the topic on how to send the license to Aspose staff for your reference.
https://forum.aspose.com/t/how-to-send-license-file-to-support-team/225542

I’m having the same problem. My application’s test suite includes hundreds of tests, with the application being reinitialized for each, and the license being read once each time. Often the entire test collection will run with no trouble, but sometimes one or more will fail with the “This license file is corrupted” message. The same tests will pass when I rerun them.

I know it isn’t a matter of disk corruption because the license content is embedded in the application rather than read from a file, and it happens both when I run the tests on my local machine and then they’re run by a pipeline on a devops server.

Have you come up with a solution since the original post?

I’m having the same problem. My application’s test suite includes hundreds of tests, with the application being reinitialized for each, and the license being read once each time. Often the entire test collection will run with no trouble, but sometimes one or a few will fail with the “This license file is corrupted” message, while all the others succeed. The same tests will pass when I rerun them.

I know it isn’t a matter of disk corruption because the license content is embedded in the application rather than read from a file, and it happens both when I run the tests on my local machine and then they’re run by a pipeline on a devops server.

I’m uploading a ZIP of the license. Have you come up with a solution since the original post?

@hmatwork
Please open your license file (that you are setting in code for your application) into notepad and check the license subscription expiry date - please do not modify the license file least it will not work anymore. By checking the file you uploaded, we found that your subscription expired on October 24, 2024, so you need to upgrade your subscription.

Additionally, for safety reasons, please do not directly upload the license file to the forum. Please see the topic on how to send the license to Aspose staff for your reference.

@hmatwork,

For security reasons, I have removed your attachment after downloading it. As @John.He mentioned, your license expired on October 24, 2024, so you may upgrade your subscription if you want to use newer versions of the API. You cannot use any Aspose.Cells API versions released after this date, including Aspose.Cells v24.11.0. You are limited to using Aspose.Cells versions up to v24.10.0, meaning any versions <= v24.10.0 are compatible with your license. If you still encounter issues even when using v24.10.0 or earlier versions, please create a standalone sample project, compress it into a zip file, and share it with us. We will check your issue soon.