Problem with licence

Hi

I used aspose.powerpoint and then I upgraded to aspose.slide 2.4.0.0 , I had licence "Aspose.PowerPoint.lic". But when I exported to ppt file I got an message:

Evaluation only.
Created with Aspose.PowerPoint.
Copyright 2004 Aspose Pty Ltd.
How can I fix it? Thanks

I’d not suggest using 2.4.0 release. Last stable version is 2.5.11.

If you purchased Aspose.Slides more than year ago you have to renew subscription
in order to upgrade to last releases. Please check this page with information how to do it.

Hi

I had renewed licence for the last version of aspose.slide, but some time I still get the message: "Evalution only create with aspose.powerpont copyright 2004 aspose pty Ltd".

This is my code:

Aspose.Slides.License licence = new Aspose.Slides.License();

string a = System.Web.HttpContext.Current.Request.ApplicationPath;

licence.SetLicense(System.Web.HttpContext.Current.Request.MapPath(a + "/ReportModule/ExportPowerPoint/Aspose.Slides.lic"));

Aspose.Slides.Presentation presentation = (Aspose.Slides.Presentation)Session[SessionName];

this.Response.ContentType = "application/vnd.ms-powerpoint";

this.Response.AppendHeader("Content-Disposition", "attachment; filename=demoresult.ppt");

this.Response.Flush();

System.IO.Stream st = this.Response.OutputStream;

// Write the file

presentation.Write(st);

this.Response.End();

How can I fix it?

Thanks

Aspose.Slides inserts evaluation watermarks on presentation opening.
In your application ppt file had been opened and saved to session variable before you loaded license file.