Page load failed

Page load failed

Forum member · Oct 14, 2013
DynamicPDF Viewer for .NET v1.0 (Build 23555) We are using the “ceTe.DynamicPDF.Viewer.40.x86.dll” object in an internal user control and have started noticing that we are getting exceptions being thrown. It appears that the document/file is present at the time the pdfViewer Open method is called. The problem that we are having in tracking the issue down is that it does not seem to be able to be reproduced on demand. We are running in a Citrix environment and the user control first copies the document/file to a local folder user the users profile then displays it. I see that there is a new build (23961) available and I am wondering if the current exceptions being thrown would be addressed in the new build. System.Exception: Page load failed at o.a(Int32 ) at o.b(Int32 ) at ac.a(Object , PrintPageEventArgs ) at System.Drawing.Printing.PrintDocument.OnPrintPage(PrintPageEventArgs e) at System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e) at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document) at System.Drawing.Printing.PrintController.Print(PrintDocument document) at System.Drawing.Printing.PrintDocument.Print() at p.p() at ceTe.DynamicPDF.Viewer.PdfViewer.Print() at u.s(Object , EventArgs ) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) System.Exception: Page load failed at o.a(Int32 ) at o.b(Int32 ) at k.a(Point , Boolean ) at k.e(Boolean ) at ceTe.DynamicPDF.Viewer.PdfViewer.OnKeyDown(KeyEventArgs e) at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m) at System.Windows.Forms.Control.ProcessKeyMessage(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) System.Exception: Page load failed at o.a(Int32 ) at o.b(Int32 ) at u.a(e ) at u.a(Int32 , Int32 , Boolean ) at ceTe.DynamicPDF.Viewer.PdfViewer.c(Int32 , Int32 , MouseEventArgs ) at ceTe.DynamicPDF.Viewer.PdfViewer.a(Object , MouseEventArgs ) at System.Windows.Forms.Control.OnMouseWheel(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseWheel(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Re: Page load failed

Support · Oct 14, 2013
Hello, We have not seen this error before but we do recommend that you try the latest available build. If you continue to get this error with the latest build, please send over the code used, sample pdfs as well as error & stack trace to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^]. Thanks, ceTe Software Support Team.

Re: Page load failed

Forum member · Oct 26, 2013
We have been able to colelct some more addtional information on the failure: Log Name: Application Source: .NET Runtime Date: 10/25/2013 2:46:13 PM Event ID: 1026 Task Category: None Level: Error Keywords: Classic User: N/A Computer: xawrk018.tai.com Description: Application: LimsMenu.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at <Module>.b(Void*, Int32) at o.a(Int32) at o.b(Int32) at p.a(e[], Boolean, Boolean ByRef) at p.b() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart() ________________________________________ Log Name: Application Source: Application Error Date: 10/25/2013 2:46:14 PM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: xawrk018.tai.com Description: Faulting application name: LimsMenu.exe, version: 4.0.4965.16630, time stamp: 0x51ffb33c Faulting module name: ceTe.DynamicPDF.Viewer.40.x86.dll, version: 1.0.0.23961, time stamp: 0x52035ff9 Exception code: 0xc0000005 Fault offset: 0x00103737 Faulting process id: 0x7404 Faulting application start time: 0x01ced1bf8e463051 Faulting application path: C:\TALS40\LimsMenu.exe Faulting module path: C:\Users\chamberlaink\AppData\Local\assembly\dl3\K8KW8BE9.W82\ELT6B38J.GHZ\8e254459\00b94391_6794ce01\ceTe.DynamicPDF.Viewer.40.x86.dll Report Id: 7c5ea491-3db6-11e3-a00a-aafb6d591e97

Re: Page load failed

Support · Nov 14, 2013
Hello, Our developers finished their analysis and they were unable to recreate the errors and have not found anything specific that would cause these errors. Instead of loading the PDF directly from file path, they suggested that you try loading the PDF from a byte array. Here is the sample code that shows how to do this: PdfDocument pdf = new PdfDocument(File.ReadAllBytes(mDocPath)); this.pdfViewer1.Open(pdf); Thanks, ceTe Software Support Team.