Aspose.cells license error on server rebuild

We had to rebuild a server and do a restore from a Windows backup. We are using classic ASP. We are now getting an error on the following line of code:

Set license = CreateObject(“Aspose.Cells.License”)

Seems like I need to reinstall the license?

The aspose.cells component is being used to convert xlsx files to xls files in Excel.

Thank you.

Uday

@USM,

Thanks for your query.

I think you need to register Aspose.Cells.Dll on the system after server rebuild (previous registration of Aspose.Cells assembly might be lost when you reinstall or restore the OS). If you have Aspose.Cells MSI installer, you may re-install it on the server, it will automatically register the Aspose.Cells assembly on your server. Otherwise, you may register it via some command line:
i.e.,
Regasm /codebase Aspose.Cells.dll

Hope, this helps a bit.