Free Support Forum -

Evaluation copyright warning

I am creating a new application which contains the embedded resource, Aspose.Cells.lic. The Excel spreadsheet contains the Evaluation Copyright Warning. The license file date is 5/11/2007 and dll version is I used the same approach to create two applications about one year ago. It didn’t have any issue.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I just renew the license today, but I still want to use the dll until I have time to verify the new version of dll.

Please advise.



here is the code:



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


dsRecognition = new DataSet();

dsRecognition = spgCon.GetDataSet("SPG_GENERAL_PKG", "GetNominationTable", "recognition", "cur_nomination");

int iRow = dsRecognition.Tables[0].Rows.Count; // # of data rows

int iCol = dsRecognition.Tables[0].Columns.Count; // # of data columns

if (iRow <= 0)


lblError.Text = "Recognition report is not available.";

lblError.Visible = true;




//Creating a Workbook object

Workbook templateWorkbook = new Workbook();

Workbook workbook = new Workbook();

string path = MapPath("..");

string tempFile = path + @"\Template\Recognition.xls";


// copy it first


// close the template

templateWorkbook.Save(tempFile, FileFormatType.Default);

Worksheet rawSheet = workbook.Worksheets[8]; // Raw Data sheet

Cells cells = rawSheet.Cells;

cells.ImportDataTable(dsRecognition.Tables[0], false, 1, 0, iRow, iCol); //Import data without heading and start at row 1(set it to false)

// set all row height for raw data sheet

for (int i = 0; i < iRow + 3; i++)

cells.SetRowHeight(i, 20);

string strSaveFile = "SLT_Recognition_" + strQuarter;

workbook.Save(strSaveFile, FileFormatType.Default, SaveType.OpenInBrowser, this.Response);



catch (Exception err)


lblError.Text = "Error: " + err.Message;

lblError.Visible = true;



Well, yes, you can use the older version with the newer license. You just need to replace the older license file with the newer license file.

For reference how to set license, please check:

Thank you.