Hi There ,
I have been using a licensed product to convert documents such as Word, Excel, Images, Emails , txt & pptx to PDF formats .
I have no issue with converting most of the files format to pdf but I have some issue with converting ppt files to pdf as I have trouble setting the License file for Aspose.Slides.
below are the code I am using to set License for excel,word and pdf they all work fine ,
Aspose.Cells.License cell_license = new Aspose.Cells.License();
cell_license.SetLicense("…\scripts\Aspose.Total.lic");
Aspose.Pdf.License pdf_license = new Aspose.Pdf.License();
pdf_license.SetLicense("…\scripts\Aspose.Total.lic");
Aspose.Words.License word_license = new Aspose.Words.License();
word_license.SetLicense("…\scripts\Aspose.Total.lic");
but for pptx I am using below mentioned code and it cant file the license file from that specified path and its looking at the wrong path which I haven’t set or mentioned.
Aspose.Slides.License ppt_license = new Aspose.Slides.License();
ppt_license.SetLicense("…\scripts\Aspose.Total.lic");
//string licenseFilePath = System.Web.HttpContext.Current.Server.MapPath("\scripts\Aspose.Total.lic");
//ppt_license.SetLicense(licenseFilePath);
for Aspose.Slides.License it looks for license file under
F:\inetpub\WMSWebs\PCS\bin\Aspose.Total.lic
or
F:\inetpub\WMSWebs\scripts\Aspose.Total.lic
which is totally wrong , can you please help me with setting the license file path correctly for Aspose.slides.
Please let me know if you need additional information.
Thanks in Advance
Anil