Completed
Last Updated: 19 Apr 2021 06:11 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 05 Oct 2018 12:34
Category:
Type: Bug Report
3
FIX. RadPdfViewer - "A general error occurred in GDI+" when loading a pdf file
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Graphics.SetClip(GraphicsPath path, CombineMode combineMode)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContainer(Container container, Graphics graphics)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContentElement(IContentElement contentElement, Graphics graphics)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContainer(Container container, Graphics graphics)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContentElement(IContentElement contentElement, Graphics graphics)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContainer(Container container, Graphics graphics)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContentElement(IContentElement contentElement, Graphics graphics)
   at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawPage(ContentCollection content, Graphics graphics, Matrix pageTransform, AnnotationCollection annotations)
   at Telerik.WinControls.UI.FixedPagePreRenderer.rendererWorker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Attached Files:
2 comments
ADMIN
Dimitar
Posted on: 19 Apr 2021 06:11

Hello Simon,

The issue lies deep in our internal logic and this is why I cannot suggest a workaround for it. Unfortunately, the upgrade is the only option in this case. I wanted to ask you what prevents you from upgrading? 

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Simon
Posted on: 15 Apr 2021 18:50

Hi,

I have this error using the Telerik.WinControls.PdfViewer.dll version 2014.1.226.40 and updating to 2018 is not possible.  Is there a workaround for this?

Thanks!