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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error opening a specific PDF file

Thread ID:





119193 May 20,2015 03:13 PM UTC May 22,2015 04:17 AM UTC WinRT 1
Tags: SfPdfViewer
Ric Silva
Asked On May 20, 2015 03:13 PM UTC

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

Suresh M [Syncfusion]
Replied On 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.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon