Free Support Forum - aspose.com

.Net Runtime 2.0 Error with license

Hello,

Recently we upgrade our application to .Net 2.0. In code, we use following lines to set license:

Aspose.Cells.License lic1 = new Aspose.Cells.License();
lic1.SetLicense("Aspose.Custom.lic");

It works fine in .Net 1.1. But in .Net 2.0, we always get following error:

EventType clr20r3, P1 clarity.fsr.ui.exe, P2 6.0.0.0, P3 47d847e1, P4 clarity.fsr.ui, P5 6.0.0.0, P6 47d847e1, P7 4fc, P8 50, P9 system.io.fileloadexception, P10 NIL.

If we comment out the license code, everything works fine.

Can you please help? It is an urgent issue.

William Ren

Clarity Systems

BTW, we are using VS2008 target .Net 2.0

William Ren

Hi William,

Please send your license file to nanjing@aspose.com. We will check it ASAP.

For your issue, please check:

1. When you install Aspose.Cells, two dlls will be installed on your machine. One for .NET1.0 and one for .NET 2.0. The size of 2.0 dll is large than 1.0 dll. Please make sure that you are using 2.0 dll.

2. Since you are using vs2005, is it possible that your program runs under .Net3.5?