Free Support Forum - aspose.com

Installation / License File Problem

Hello,

We recently purchased Aspose.Cells for .Net, and am using within SSIS (Visual Studio/BIDS 2008).

We have applied the license file as instructed in the documentation, where the variable contains the full path to our licensed license file. The actual assemblies are residing in the GAC.

Dim strAsposeLicFile As String = Dts.Variables("AsposeLicFile").Value
Dim oLic As Aspose.Cells.GridDesktop.License = New Aspose.Cells.GridDesktop.License()
oLic.SetLicense(strAsposeLicFile)

However when we save a workbook as a CSV file, we continue to get the evaluation message at the end of the CSV file as if we are not using a licensed license file.

Please advise.

Thank you.

Eliot Gorman

Hi,

Thanks for your question and purchasing Aspose.Cells for .NET.

It seems the path to your license file is not being resolved by DTS correctly. It means, instead of giving relative path, you should provide absolute path.

For example, if your license is placed inside the c:\myfolder then you should give full path like c:\myfolder\AsposeLicFile

And if you give relative path, then make sure, DTS resolves it to correct absolute path.

Also, if you are using Aspose.Cells for .NET, then your code example should be like this. There should not be GridDekstop inside it.


VB.NET


Dim strAsposeLicFile As String = Dts.Variables(“AsposeLicFile”).Value

Dim oLic As Aspose.Cells.License = New Aspose.Cells.License()

oLic.SetLicense(strAsposeLicFile)