Aspose License Issue - System.InvalidOperationException

Hi,
We are encountering issues when trying to upgrade version. We have a valid license and not sure why this exception is being encountered. Please provide guidance on this. I am trying to upgrade following and all of these are part of the license:

  • Aspose.PDF from version 23.7.0 to 23.11.0 (last stable)

  • Aspose.Celles from version 23.8.0 to 23.11.0 (last stable)

  • Aspose.Words from version 23.8.0 to 23.11.0 (last stable)

image.jpg (57.3 KB)

@Sridhar_Gondi_ey_com

Looks like your license was valid till 31st August 2023. Which means you are entitled to use the API versions released before the expiry date of the license. Therefore, you are facing this exception as you are trying to use the license with the version higher than 23.8. We request you please verify the license expiry date by opening it in any text editor and upgrade your subscription to be able to use the latest API versions.

Thanks @asad.ali , i have valid license and the expiration is shown as below. That is why i am confused as to why this issue is happening.

20240831

@Sridhar_Gondi_ey_com

Please make sure that you have replaced your license file with the new one in your project. You can also try using the new license file in a separate application to see if error still persists. If nothing helps, please share you license file with us in a private message and we will test it.

You can send a private message by clicking on the username and press the Blue Message Button.

Hi @asad.ali ,
Are you part of Aspose dev/customer support team? I am bit reluctant to share my license file.

Thanks,

@Sridhar_Gondi_ey_com

Have you tried the above options/suggestions we shared earlier?

@asad.ali , the file i downloaded from our subscription and the one being used in our code base is the same. Not sure why this issue is happening. Any other suggestions?

@Sridhar_Gondi_ey_com

Yes, I am from the official Aspose Free Support team as you can notice the badge right next to my username.
image.png (25.0 KB)

You can please click on my username and press the Blue message button to send your license file in a private message. Please do not forget to check the Private Message/Topic checkbox in the post editor before sending the message. You can attach your license file in .zip format in your message.
image.png (15.4 KB)

Hi Asad,
Please find attached lic file. Once you review, please delete the it. Appreciate your quick help as it is becoming a blocker for us.

@asad.ali - Can you confirm if you got the file in a private message?

@Sridhar_Gondi_ey_com

We got the file. Let us investigate and get back to you please.

ok thanks, i will wait for the reply

@Sridhar_Gondi_ey_com

We have tested your license file with 24.1 version of the API and could not replicate the issue. Can you please create a separate console application at your side and use this license to see if its working correctly or not.

Thanks @asad.ali , is there a console app you can share with me so i can test it out?

@Sridhar_Gondi_ey_com

Please check the attached console application. You can restore the NuGet Package and set the license file path in Program.cs file to test the case.
ConsoleApp1.zip (28.0 KB)

Thanks @asad.ali , will review with my devs and get back to you. Appreciate your quick help

@asad.ali , thanks…we tested our lic file and it works on the console app. Not sure whats going on with the app consuming this file. We will trouble shoot it further and get back to you incase of any questions/clairifications.

@Sridhar_Gondi_ey_com

Thanks for the feedback. Please take your time and make sure that your application is reading the correct file and its reading it correctly. Feel free to let us know in case you need further assistance.