Hello,
Where should I copy the license file of Aspose.PDF.form,
the code I am using is -
dim lic as new license
lic.setlicense(“Aspose.Pdf.Form.lic.xml”)
Should I copy this file to the bin directory.
Please revert back.
Vikas
this is the error I get when I generate the pdf file -
An error occurred generating the PDF file.
Exception [Exception] at Aspose.Pdf.Form.License.xde6236852622c268(String x1c1fc72fe1a3b4ea, Assembly x39e0a96279c40baa) at Aspose.Pdf.Form.License.SetLicense(String licenseName) at eSystems.eContractManager.Reports.RunAsposePDFReport(ReportsInfo objReport) in C:\My Projects\DotNetNuke3\DesktopModules\eContractManager\Reports.ascx.vb:line 225
Cannot find license 'Aspose.Pdf.Form.lic.xml'.
The data path name is ~\DesktopModules\eContractManager\TemplatePDF\PAMDForm22aTemplate.pdf
Dear vika,
Thanks for considering Aspose.Pdf.Form.
1) The license file name you used may be wrong. It should be “Aspose.Pdf.Form.lic”, not ‘Aspose.Pdf.Form.lic.xml’ ,please check it.
2) You could use a absolute file name or relative file name. If the later, you should put the license file in the bin directory or your project directory.
Best regards.