Aspose.Pdf 1.9.0.0 problem


#1

My WebApplication (dev environnement) generate an exception when I try to execute the folowing code :

Doc = new Pdf(System.Configuration.ConfigurationSettings.AppSettings["ConfigPath"] + "Aspose.Report.lic"); //The file exist and valid on TestServer

...

System.IO.MemoryStream Stream = new System.IO.MemoryStream();

Doc.Save(Stream);

Save Method throw an exception : Sorry, there is a problem with Aspose Unlimited license. AssemblyCompany of your assembly does not match the license.

AssemblyCompany is the same in all environement ( DEV and TEST environnement) and correct.
Dll version is the same (DEV and TEST environnement) : 1.9.0.0

All posts in your forums use a recent version of Aspose.Pdf with License class. I don't have this class and I cannot apply a new version.

How can I solve this problem ?


#2

Thanks for considering Aspose.

I guess this problem may be caused by you older version. Please contact our sales department for free updating license.

http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactSales.html


#3

How can you explain that the same code work fine on Test server and throw exception on my local machine ?


#4

It seems the old license mechanism also check the machine name.