We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Error opening a specific PDF file

im getting a Exception opening the attached file. 

this is the stacktrace of the exception im having 

Message: Arithmetic operation resulted in an overflow.

"   at Syncfusion.Pdf.Security.PdfEncryptor.AESDecrypt(Byte[] data, Byte[] key)
   at Syncfusion.Pdf.Security.PdfEncryptor.DecryptData256(Byte[] data)
   at Syncfusion.Pdf.Security.PdfEncryptor.EncryptData(Int64 currObjNumber, Byte[] data, Boolean isEncryption)
   at Syncfusion.Pdf.Primitives.PdfString.Decrypt(PdfEncryptor encryptor, Int64 currObjNumber)
   at Syncfusion.Pdf.IO.PdfCrossTable.Decrypt(IPdfDecryptable obj)
   at Syncfusion.Pdf.IO.PdfCrossTable.Decrypt(IPdfPrimitive obj)
   at Syncfusion.Pdf.IO.PdfCrossTable.Decrypt(IPdfPrimitive obj)
   at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
   at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Index()
   at Syncfusion.Pdf.Primitives.PdfReferenceHolder.GetObject()
   at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Object()
   at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
   at Syncfusion.Pdf.Interactive.PdfLoadedBookmark.GetNext()
   at Syncfusion.Pdf.Interactive.PdfLoadedBookmark.get_Next()
   at Syncfusion.Pdf.Interactive.PdfBookmarkBase.ReproduceTree()
   at Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_Bookmarks()
   at Syncfusion.Pdf.Parsing.PdfLoadedDocument.CreateBookmarkDestinationDictionary()
   at Syncfusion.Pdf.PdfDocumentBase.ImportPageRange(PdfLoadedDocument ldDoc, Int32 startIndex, Int32 endIndex)
   at Syncfusion.Windows.PdfViewer.PdfDocumentView.<LoadPages>d__63.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()"

is there something wrong with the file? i can open it on adobe

Attachment: knightsdoc_752adfe.zip

1 Reply

SM Suresh M Syncfusion Team May 22, 2015 04:17 AM UTC

Hi Ric,

Thank you for your interest in Syncfusion products.

We are able to reproduce the issue “Exception thrown while opening the PDF document in Viewer”. We have created a direct trac incident for the follow of the fix for the issue. Please login to our support website for further updates.


Please let us know if you need any further assistance.



Live Chat Icon For mobile
Up arrow icon