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

Free Support Forum - aspose.com

Facing some error while using license file

when i am using the given code for trial license

Aspose.Email.License license = new Aspose.Email.License();

it generate the below error:

System.InvalidOperationException: 'Failed to set license. Details: Index was outside the bounds of the array.


We have investigated the issue at our end. We have used Aspose.Email license with latest version of Aspose.Email. We are unable to reproduce the issue. Please try again at your end by applying the license to Aspose.Email. Sample code snippet that we used to set the license is given below for your reference.


Aspose.Email.License _lic = new Aspose.Email.License();