Free Support Forum -

License issue with Aspose.Cells 20.7


I tried upgrading to Aspose.Cells for C++ 20.7 from version 19.11. I use Aspose.Cells
in conjunction with Qt 5 and load the license as follows:

static void activateAsposeLicense()
static intrusive_ptr< License> license;

  if(!license) {
  	// Open the embeded license file 
  	QFile asposeLicFile(":/internal/Aspose.Cells.lic");;
  	const QByteArray licData = asposeLicFile.readAll();
  	intrusive_ptr<Aspose::Cells::Systems::BString> byteBuffer(new Aspose::Cells::Systems::BString(reinterpret_cast<Byte*>(, licData.size()));
  	Aspose::Cells::Systems::IO::MemoryStreamPtr buffer(new Aspose::Cells::Systems::IO::MemoryStream(byteBuffer));

  	license = new Aspose::Cells::License;
  } }

This worked fine with 19.11 but Aspose won’t accept my license in 20.7 although
the license clearly states that it’s valid into 2021.

We have reviewed your issue and logged it in our database for further investigation. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSCPP-269 - License issue with Aspose.Cells 20.7


Alright, thank you!


You are welcome.


Please try our latest version/fix: Aspose.Cells for C++ v20.7.1.

Your issue should be fixed in it.

Let us know your feedback.

Hi @Amjad_Sahi,

Our license seems to work now. Thank you!


You are welcome.