Aspose.Cells : Cannot find black listed licenses resource. Please report this error to Aspose

Hi, we are facing the issue “Cannot find black listed licenses resource. Please report this error to Aspose.”

Error occurs when calling Aspose.Cells.License.SetLicense(String licenseName)
licenseName is the name of the embedded resource which contains our Aspose.Total.Lic file

Context information :

  • back in january 2024, we upgraded all of our Aspose.Total components to the version which was available in January 2024.

  • Versions :
    Aspose.BarCode : 23.12.0 → works as expected
    Aspose.Cells : 23.12.0 → works on all dev machines and 99% of customer machines, but fails on a few of our customer pc’s
    Aspose.Imaging : 23.12.0 → works as expected
    Aspose.Pdf : 23.12.0 → works as expected
    Aspose.Words: 24.1.0 → works as expected

  • Only Aspose.Cells 23.12.0 seems to be broken.

  • Customers re-installed their machine from scratch, and still fails on both Windows 10 & Windows 11.

  • Application is running .Net Framework 4.8

  • Tried with latest available version of Aspose.Cells.dll 24.3.0 and adding an assembly redirect in our application config file (to avoid having to recompile the application), and works on the machines where 23.12.0 did not work
    We haven’t done any regression testing yet, just some smoke tests to see if the application starts as expected and no longer throws the exception when starting the application & loading the license

  • We checked all the upgrade notes of Apose.Cells 23.12 → 24.3 to find out which issue was fixed, but don’t find any relevant information

Problem : The exception only occurs on 1% of the machines where we deployed our application, so very hard to troubleshoot and confirm the issue is fixed

Question : Can you confirm this is a known issue which has been addressed somewhere in 24.1 - 24.3 ? If this is not a known issue, can you indicate what causes the exception to be raised in 23.12 of Aspose.Cells, but not in 24.3 ?

We need some additional information to decide upon re-releasing our product to all of our customers with a new version of Aspose.Cells 24.3.

Message     : Cannot find black listed licenses resource. Please report this error to Aspose.
Source      : Aspose.Cells
TargetSite  : Void (System.Object)

StackTrace

bij  .(Object )
bij  . (  ,  )
bij  . ()
bij  .(Boolean )
bij  .(Object )
bij  . ()
bij  .(Object , UInt32 )
bij  .(Boolean )
bij  .(Object[] , Type[] , Type[] , Object[] )
bij  .(Int32 , Type[] , Type[] , Boolean )
bij  .  (  ,  )
bij  . ()
bij  .(Boolean )
bij  .(Object )
bij  . ()
bij  . (  ,  )
bij  . ()
bij  .(Boolean )
bij  .(Object )
bij  . ()
bij  .(Object , UInt32 )
bij  .(Boolean )
bij  .(Boolean )
bij  .(Object[] , Type[] , Type[] , Object[] )
bij  .(Int32 , Type[] , Type[] , Boolean )
bij  .  (  ,  )
bij  . ()
bij  .(Boolean )
bij  .(Object )
bij  . ()
bij  . (  ,  )
bij  . ()
bij  .(Boolean )
bij  .(Object )
bij  . ()
bij  .(Object , UInt32 )
bij  .(Boolean )
bij  .(Boolean )
bij  .(Object[] , Type[] , Type[] , Object[] )
bij  .(Int32 , Type[] , Type[] , Boolean )
bij  .  (  ,  )
bij  . ()
bij  .(Boolean )
bij  .(Object )
bij  . ()
bij  .(Object , UInt32 )
bij  .(Boolean )
bij  .(Object[] , Type[] , Type[] , Object[] )
bij Aspose.Cells.License.SetLicense(String licenseName)

Kind regards
Gantner

@mathijssyx,

Thanks for providing details.

I am not entirely certain whether this was a bug in v23.12.0 or earlier versions. However, we may have made some enhancements to the licensing modules in recent releases. We recommend that you kindly upgrade to and use the latest version of the API because this way you can benefit from maximum enhancements and fixes. Moreover, if you come across any issues with the latest version, we will try to fix them in due time and provide you with the fixed version.

@mathijssyx

We did get some reports of such kind of issues for versions from 23.12 and 24.1. From those reports(including yours), we can conclude that these versions indeed may cause such problems in certain environments. However, what is confusing and troubling is that even with the same program, this issue only occurs in few environments. And we cannot reproduce it at our end even with user provided project. This makes it difficult for us to track the issue.

When 24.2 was released, we recommended some users to try it and according to their feedback the issue no longer occurs. So we think the issue should have been solved by newer versions even though we have not known the root cause of it.

Thx for the feedback @johnson.shi & @amjad.sahi.
We will upgrade all of the components to the latest version ASAP since it seems to fix the issue in Aspose.Cells in 24.3.
Are there any important known issues / breaking changes we should be aware of when upgrading Aspose.Words, Aspose.Pdf, Aspose.BarCode, Aspose.Cells to 24.3 ?

Kind regards,
Gantner

@mathijssyx
For the support and enhancement of v24.3 features, please refer to the following document.

@mathijssyx,

You should check the Release Notes documents of the respective APIs to learn more about enhancements, new features, breaking changes, and other fixes. You may also post your queries on the respective forums if you have any doubts or questions.