We are getting the error below when converting PDFs to TIFFs. The error does not happen every time a conversion takes place and, if the same PDF is sent again, it converts without a problem. We are running on a 2 server balance-loaded farm. The license file exists in the web service's bin folder.
Lines 42 and 43 referenced in the stack trace are:
License license = new License();
license.SetLicense("Aspose.Pdf.Kit.lic");
The trapped error is:
Error occurred during PDF to TIFF conversion process. <br />ERROR: Object reference not set to an instance of an object. <br/>STACKTRACE: at x22bcffa34b42a390.x220f433da4115056.x7d0214bf69711dd9(Stream xcf18e5243f8d5fd3)
at x22bcffa34b42a390.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4)
at Aspose.Pdf.Kit.License.SetLicense(String licenseName)
at Lyo.SharedServices.Document.Conversion.BLL.LyoPdfConversionBLL.ConvertToTiff(String transmissionKey, String workingDirectory, String inputPdfFileList, String outputTiffFileName) in D:\dev\Projects\LyoSharedServices\2008.Q1\App\Components\3.5\Lyo.SharedServices.Document.Conversion.BLL\LyoPdfConversionBLL.cs:line 43
at Lyo.SharedServices.DocumentConversion.Wrk.LyoDocumentConversionWrk.aConvertPdfToTiff_ExecuteCode(Object sender, EventArgs e) in D:\Dev\Projects\LyoSharedServices\2008.Q1\App\WWF\3.5\Lyo.SharedServices.DocumentConversion.Wrk\LyoDocumentConversionWrk.cs:line 42
Any help will be greately appreciated.
Michael Bianchi