We are using Aspose Cells and Words licenses in our project. There is one functionality where we are creating charts using aspose.cells and rendering the image in a word document. This chart image is showing the message of Evaluation Only.
Did our licenses expire, do we need to get new/latest versions of license files? Please confirm. I have checked in the license file and found out the following entries which might be useful to you.
20120818
2.2
Thanks in advance.
Hi,
Hi,
Thanks for your reply. We are using new licenses now. Here are some details about them.
Enterprise
834e54dc-9ad3-48ed-97a4-42027f209039
20141008
2.2
Also, we downloaded the latest DLLs from website. As we are using 3.5 dot net framework, we are using DLLs from net2.0 folder. After that almost everything is working fine. The evaluation message is not coming in the word document now, but it is still there inside the chart.
Actually we are creating charts in our dot net code and then converting those charts to images and then inserting those images on the word doc by using _builder.InsertImage function. But we still see the evaluation message inside those chart images. I am attaching those chart images.
Please help us asap and let us know if we are missing something.
Thanks in advance…!!
Hi,
Hi Amjad,
I think I have got the issue but need your help.
Actually for converting chart.ToImage(), we are using Aspose.Cells only, I mean when you hover over that piece of code, it shows Aspose.Cells only. But there are other piece of code in our application where Aspose.Words is used.
Now when I checked Global.asax in the application, I found following piece of code.
License asposeLicense = null;
protected void Application_Start(object sender, EventArgs e)
{
asposeLicense = new License();
string licenseFile = Server.MapPath("~/Aspose.Words.lic");
if (System.IO.File.Exists(licenseFile))
{
asposeLicense.SetLicense(licenseFile);
}
}
So here, we are setting only Aspose.Words here. Can we set Aspose.Cells also alongwith? I tried and got an error The license is not valid for this product.
Please suggest me the solution. We have use of both the licenses in our application.
Hi,
Yes Amjad,
I understand it. We have both the license files so I will try to set them both separately in the Global.asax with qualified naming conventions.
Will get back to you in case we have any issues.
Thanks
Thanks a lot Amjad.
It worked…!!
Hi,