Error with new license file

Hello,

We renewed our subscription to Aspose and received a new .lic file. Just like our first go-round, this one doesn’t work either. When I install, I get errors on my scripts. Please review the file and send us a new one.

First time thread: How to set Aspose.Cells license in ColdFusion

Let me know what information you need from me / where I should send the non-working .lic.

Thanks,
Mike

Hi,

Did you check the thread:
<a href="https://forum.aspose.com/t/140973

Also paste your code here.

Thank you.

Amjad,

No changes have been made to our various scripts. If I swap in the new .lic (and restart the app server), all the scripts throw errors. If I add back the previous .lic, they are work normally.

Thanks,
Mike

This test page is still available as well:


Hello World!

This example shows how to create a simple MS Excel Workbook using Aspose.Cells


<cfset LicfileI = LicFile.init(JavaCast(“string”,“D:\Inetpub\wwwroot\Intranet\Aspose.Cells.lic”))>



<cfset license.setLicense(LicfileI)>



<cfset workbook=CreateObject(“java”, “com.aspose.cells.Workbook”).init()>



<cfset sheet= worksheets.getSheet(“Sheet1”)>





<cfset cell.setValue(“Hello World!”)>

<cfset workbook.save(“D:\Inetpub\wwwroot\Intranet\testtwg\sales_reports\engr\temp\out2.xls”)>

Download

<!— Tell the browser to expect an Excel file attachment.
<cfheader
name=“content-disposition”
value=“attachment; filename=out.xls”
/>

<!—
Tell browser the length of the byte array output stream.
This will help the browser provide download duration to
the user.
—>
<cfheader
name=“content-length”
value="#REQUEST.ExcelData.Size()#"
/>

<!— Stream the binary data to the user. —>
<cfcontent
type=“application/excel”
variable="#REQUEST.ExcelData.ToByteArray()#"
/>

—>




Hi,

Thanks for the sample code that your are using.

We have received your license file’s copy. We will look into your issue soon.

Thank you.

Hi,

We tested your license file on Java environment (JDK5.x etc.), it works fine on it. I think license file is not the problem whether to work on coldfusion or java environment.
Could you give us error messages details, e.g
exception type, stack trace, error message, etc.

Thank you.