We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Pdf.Kit.PdfKitErrorCodeException

Hi

As requested, I am contacting you.

I found this in the log file of an aplication using Aspose to convert various file formats to TIFF. Unfortunately I have no way of knowing which file triggered the error:

Aspose.Pdf.Kit.PdfKitErrorCodeException: File is damaged. Please contact Aspose.Pdf.Kit development team.
at x30a678191d9b1780.x573da502a3364b6b.x5b81632e5b71b64c(Int32& x67a39b7274cec48f, Int32 x5c4ff2905d409caf, Int32 x820562bfe91b4e71, ImageFormat x0d9146d51b0e6ca4, Int32 x76cfa4602af6a972, Int32& x39b5532b4ddc40a3)
at Aspose.Pdf.Kit.PdfConverter.xaf6adc9ec3dfd936()
at blanket.TIFFconvertion.PDFconverter.Convert(Stream inputStream, Stream outputStream) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\TIFFconvertion\PDFconverter.cs:line 16
at blanket.TIFFconvertion.Converter.Convert(Stream input) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\TIFFconvertion\Converter.cs:line 43
at blanket.TIFFconvertion.Converter.ConvertToTiff(Stream input, String extension) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\TIFFconvertion\Converter.cs:line 84
at blanket.Web.Upload.GetAttachment() in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\Upload.ascx.cs:line 44
at blanket.Web.Ompostering.GetData() in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\Ompostering.aspx.cs:line 53
at blanket.Web.BaseInvoice.ProcessData() in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\BaseInvoice.cs:line 164
at blanket.Web.BaseInvoice.SendButton_Click(Object sender, EventArgs e) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\BaseInvoice.cs:line 127
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)v5.1.0.0
at x30a678191d9b1780.x573da502a3364b6b.x5b81632e5b71b64c(Int32& x67a39b7274cec48f, Int32 x5c4ff2905d409caf, Int32 x820562bfe91b4e71, ImageFormat x0d9146d51b0e6ca4, Int32 x76cfa4602af6a972, Int32& x39b5532b4ddc40a3)
at Aspose.Pdf.Kit.PdfConverter.xaf6adc9ec3dfd936()
at blanket.TIFFconvertion.PDFconverter.Convert(Stream inputStream, Stream outputStream) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\TIFFconvertion\PDFconverter.cs:line 16
at blanket.TIFFconvertion.Converter.Convert(Stream input) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\TIFFconvertion\Converter.cs:line 43
at blanket.TIFFconvertion.Converter.ConvertToTiff(Stream input, String extension) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\TIFFconvertion\Converter.cs:line 84
at blanket.Web.Upload.GetAttachment() in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\Upload.ascx.cs:line 44
at blanket.Web.Ompostering.GetData() in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\Ompostering.aspx.cs:line 53
at blanket.Web.BaseInvoice.ProcessData() in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\BaseInvoice.cs:line 164
at blanket.Web.BaseInvoice.SendButton_Click(Object sender, EventArgs e) in C:\Documents and Settings\kokr\Dokumenter\Visual Studio 2010\Projects\OIOXML\WebApplication2\BaseInvoice.cs:line 127
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Product : Aspose.Pdf.Kit
File Version : 5.1.0.0
Assembly Version : 5.1.0.0

Hi Klaus,


Thanks for using our products. As far as I can understand from the error description, the problem is occurring when converting some PDF documents into TIFF format. Can you please share some of the sample PDF documents fro which you are facing this problem. We apologize for this inconvenience.