Licence not accept

Hi Team,

I have Aspose. Word, Aspose.PDF and Apose.BarCode licence. Licence key build action “Embedded Resource” in our project. Daily around 1150 time call this method but around 3 to 5 records system not accepting Licence key and it only read 4 pages in PDF. Please help me on this.

@amigarg Normally it is not required to apply the license several times. The license can be applied only once per application domain. The perfect scenario is when the license is applied only once, for example at application start or in static constructor of the class that uses Aspose.Words (or other Aspose products).
Usually, Aspose.Words throws an exception when license cannot be applied, so you can catch the exception and make one more attempt to apply license in case of exception.