My license file has a SubscriptionExpiry date of "20120130". When I pass in the license file name to SetLicense, I then get the following error when i call the Pdf constructor:
System.AccessViolationException was unhandled
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Aspose.Pdf
StackTrace:
at Aspose.Pdf.Pdf.()
at Aspose.Pdf.Pdf..ctor()
at Cps.PdfDaemon.MakePdfHelper.MakePDF(List`1 files, String fromDir, String PdfSupportPath, Exception& except)System.AccessViolationException was unhandled
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Aspose.Pdf
StackTrace:
at Aspose.Pdf.Pdf.()
at Aspose.Pdf.Pdf..ctor()
at Cps.PdfDaemon.MakePdfHelper.MakePDF(List`1 files, String fromDir, String PdfSupportPath, Exception& except)
However, when I pass in an empty string to SetLicense, I no longer get the error. What gives?