Aspose.Cells.SetLicense - Object reference not set (counter?)

Aspose.Cells.SetLicense throws an exception "Aspose.Cells Object reference not set to an instance of an object". (Version 4.5.0.0)

We are using an embedded resource license in an asp.net assemly for testing purposes to generate excel workbooks. It is not a test license. After generating a huge amount of workbooks the exception is thrown each time Aspose.Cells.SetLicense is called.

By unloading the assembly everything works fine again (iisreset).

When using a test license there seems to be a workbook counter license algorithm. It denies to generate more than x workbooks. Maybe this code fails using a real license?!?

Thanks in advance.

Regards,
Thomas S.

Hi Thomas,

Do you use Temprary license for Aspose.Cells for .NET or Official license for your project? Could you explain your issue more and tell us how many workbooks you are generating at a time before you got the error. Could you create a simple test project with the license file, zip it and post it through my mail. To send the project, kindly click the Contact button of this message frame, now, select Send Amjad Sahi an email option and send your project (as an attachment) with all the details. We will check your issue soon.

Thank you.