Remove GridDesktop evaluation copyright warning while using Aspose.Cells for .NET in C#

I am using aspose cells in many apps and am trying to use the GridDesktop control.

I have tried every different way to set the license on a winform but te warning message still appears.

         Aspose.Cells.GridDesktop.License lic = new Aspose.Cells.GridDesktop.License();
         if (File.Exists(Environment.CurrentDirectory + @"\Dlls\Aspose.Cells.lic"))  
         {
            lic.SetLicense(Environment.CurrentDirectory + @"\Dlls\Aspose.Cells.lic");
         }



Hi Tom,


Thank you for contacting Aspose support.

We have evaluated your presented scenario on our end while using the latest version of Aspose.Cells.GridDesktop 8.0.1.2000 (packaged in Aspose.Cells for .NET 8.0.2) and one of our own test license. Unfortunately, we are unable to replicate the problem as mentioned in your post. In order to troubleshoot the problem further, please check the following on your end,

  • Please give a try to the latest version of the component by downloading the Aspose.Cells for .NET 8.0.2 from above link.
  • In cases when license has expired, the API throws an exception stating that you are not allowed to use your license with current version of the API. Still, please make sure the license is valid. You can do so by opening your license file in notepad, and search for SubscriptionExpiry tag.
  • If you are using Aspose.Cells.GridDesktop component & Aspose.Cells for .NET API in your project, you need to set the license for both components separately while using the corresponding License classes.
  • Please go through the licensing instructions provided on this detailed article.

In case none of the above recommendation resolve the problem, please provide us the following,

  • An executable sample application replicating the problem. You can zip the application before attaching it to the forum thread. Please remove the license file (.lic) from the archive.
  • Please use the contact button on the forum post to send an email to babar.raza, and attach your license file with it. Please note, we do not allow the users to attach the license file to the forum thread, therefore please go through this article for better elaboration.

Hi Tom,


Just to let you know that we have received your licence file via an email, and currently we are performing a few test with it. We will shortly get back to you with more updates in this regard.

Hi Tom,


Thank you for your patience with us.

We have evaluated your presented scenario while using your provided license file. We have noticed that your license subscription expired on 18th, January 2014, therefore you will not be able to use the latest releases of the component in license mode. Although you can still use the Aspose.Cells.DesktopGrid 5.0.1.2000 (packaged in Aspose.Cells for .NET 7.7.1) without any issue.

Another important point to note is that you should set the license before initializing the form control(s). It is suggested that you should add your licensing statements at the start of the main method in program.cs file. We have attached a sample application (built with Visual Studio 2013) exhibiting how you should set the license for Aspose.Cells.DesktopGrid in a Windows Forms Application. Please note, the Aspose.Cells.DesktopGrid v 5.0.1.2000 is included in the archive, but we have removed the license file. Moreover, we have changed the license file name for our testing, when you evaluate the resolution on your end, please amend the code to reflect the actual license file.

Thanks a lot. The dll Aspose.Cells.DesktopGrid 5.0.1.works with my license.

Hi Tom,

Thanks for your feedback and using Aspose.Cells for GridDesktop.

It is good to know that your issue is sorted out now. Let us know if you encounter any other issue, we will be glad to look into it and help you further.