We are getting a below error on the server. You are using an evaluation copy and have opened files exceeding limitation

We are getting a below error on the server. You are using an evaluation copy and have opened files exceeding limitation We already have the purchased license

@anshumanmisri,

You need to set the license in code at the start of your application and before using any other Aspose APIs. The licensing code should be processed first. For example, see the document on how to set license for Aspose.Cells for Java API for your reference.

Let us know if you still have any issue or confusion.

Hi Amjad,

thanks for reply we have already purchased the Aspose.total license key and we have kept the file in the jar as well still this error.

If you want i can share the details privately

@anshumanmisri,

As we told you earlier, you would also need to write code to instantiate and set the license in code at the start of your program. For example, you can simply copy the “.lic” file in the resources folder of your project. Then rebuilding the project should embed the .lic file into application’s .jar file. After that you have to apply license by using the following code:
e.g.
Sample code:

[Java]

com.aspose.cells.License lic = new com.aspose.cells.License();
lic.setLicense(Program.class.getResourceAsStream("Aspose.Total.Java.lic"));

Hope, this helps a bit.