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

Word2PDF conversion freezes on a mal-formatted .doc file

Thread ID:





127450 Nov 16,2016 01:21 PM UTC Nov 17,2016 05:46 AM UTC ASP.NET Web Forms 1
Tags: DocIO
Sergey Zubkov
Asked On November 16, 2016 01:21 PM UTC

Hi there.

I'm using DocIO packages (version, trying to convert a bunch of files with a console application:

            using (var document = new WordDocument(sourcePath))


                document.ChartToImageConverter = new ChartToImageConverter();

                document.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Normal;


                using (var converter = new DocToPDFConverter())


                    converter.Settings = new DocToPDFConverterSettings


                        PdfConformanceLevel = PdfConformanceLevel.Pdf_A1B


                    //Convert word document into PDF document

                    using (var pdfDoc = converter.ConvertToPDF(document))


                        pdfDoc.EnableMemoryOptimization = false;







There's a mal-formatted Word file, and when the application reaches the file and tries to convert it to PDF (var pdfDoc = converter.ConvertToPDF(document)), it freezes forever, even though MS Word itself opens the file and saves it to PDF just fine.

Attachment: doc_d75d0f75.zip

Vijay Ramachandran [Syncfusion]
Replied On November 17, 2016 05:46 AM UTC

Hi Sergey,

Thank you for using Syncfusion products.

A support incident to track the status of your query has been created under your account. Please log on to our support website to check for further updates,


Please let us know if you have any concern.

Vijay R


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

This page will automatically be redirected to the 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