Hello,
Here is the error I get. I get this error for either Words or Pdf
The lic files are in the bin directory along side the DLL’s. The DLL’s
work without the lic file in evaluation mode,
but as soon as I add the lic files, I get these errors.
This code is placed in Application_Start as recommended
The requirements are not complicated:
the dlls are in the bin folder
the lic files are in the bin folder
the license code is in the recommended location
How can we resolve this?
Kyle
Line 107:
Line 108: Aspose.Pdf.License licensePdf = new Aspose.Pdf.License();
Line 109: licensePdf.SetLicense("Aspose.Pdf.lic");
Line 110: }
Line 111:
Source File:
D:\LtdSvn\InetPub\wwwRoot\Clients\GreenJobsProj\DevGreenJobs\Global.asax.cs
Line: 109
Stack Trace:
[InvalidOperationException: The license is not valid for this product.]
Aspose.Pdf.ᡢ.ᡲ(Stream ف) +890
Aspose.Pdf.ᡢ.ᡲ(String ᡳ, Assembly ᡴ) +139
Aspose.Pdf.License.SetLicense(String licenseName) +86
Kygre.GreenJobs.Web.App.Global.Application_Start(Object sender, EventArgs e) in D:\LtdSvn\InetPub\wwwRoot\Clients\GreenJobsProj\DevGreenJobs\Global.asax.cs:109
```