We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Pdf for Java Issue (license working in all servers except one)


We are using aspose Site OEM license Enterprise edition.

In all the servers where the application is deployed the PDF generation is working fine, except in one server, where below error is coming:
class com.aspose.ms.System.an: At most 4 elements (for any collection) can be viewed in evaluation mode.

Please note, same code and same licence is used in all servers.

Can you please guide us what could be the issue and how to resolve?

Hi There,

Thanks for contacting support.

We will appreciate it if you please confirm how you are applying the license. Please make sure that you have set the license before using any other object of Aspose.Pdf API. However if the issue persist then please share sample project along with your license file via email as suggested here to replicate the issue.

We are sorry for the inconvenience.

Best Regards,


As I mentioned it is a Site OEM license can be used unlimited physical locations. Also the license is set properly in code. The application in working fine in all places, except only one node and giving the mentioned error.


Thanks for sharing the details.

The above stated message occurs when license has not be initialized and please double check at your end that your application has access to the location where license file is placed and also the current user with whom the application is being accessed has permissions to that location/file-path. In case you still face the issue, please share some details regarding your environment (both for which license is working and the one for which its not working). We are sorry for this inconvenience.

Also please share the license file by following instructions specified over How to send a license?