Hello,
I’m facing the problem of reading and setting a license key.
The line ’ inputStream = new FileInputStream(… ’ works properly, but the error occasionally
happens in next line 'license.setLicense(inputStream); '.
Please see followings:
=======================================================
License license = new License();
FileInputStream inputStream = null;
try {
inputStream = new FileInputStream(getServletConfig().getServletContext().getRealPath( “/WEB- INF/lib/Aspose.Cells.69700.lic”));
license.setLicense(inputStream);
} finally {
if(inputStream != null)
inputStream.close();
}
=======================================================
I’m wondering wether the sourse program above has a probem.
Let me know if you need to check our license key.
Please make a reply.
Thanks.