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 convert doc to pdf

Thread ID:





121538 Dec 28,2015 09:13 AM UTC Dec 31,2015 10:42 AM UTC ASP.NET MVC 3
Tags: DocIO
Asked On December 28, 2015 09:13 AM UTC


My application convert .doc or .docx to .pdf using DocIO. Some conversions return an error :

   at Syncfusion.DocIO.DLS.DocReaderAdapter.ReadTextBox(WordReaderBase reader, FileShapeAddress fspa)
   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ReadShape(WordReaderBase reader)
   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ProcessChunk(WordReaderBase reader)
   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ReadTextBody(WordReaderBase reader, WTextBody textBody)
   at Syncfusion.DocIO.DLS.DocReaderAdapter.Read(WordReader reader, WordDocument wordDoc)
   at Syncfusion.DocIO.DLS.WordDocument.OpenDoc(String fileName)
   at Syncfusion.DocIO.DLS.WordDocument.OpenInternal(String fileName, FormatType formatType, String password)
   at Syncfusion.DocIO.DLS.WordDocument.WordDocumentType(String fileName, String password)
   at Syncfusion.DocIO.DLS.WordDocument..ctor(String fileName, String password)
   at DocToPdf.Models.SyncFusionConvert.SyncConvertDocPdf(SeanceModel seance, String destination) in c:\Users\...\SyncFusionConvert.cs:line 119

My code at line 118-119 :

   WordDocument wordDocAnnexe;
   wordDocAnnexe = new WordDocument(pathAnnexe, "xxxxxxx"/*password*/);

If someone has an idea of the cause of my error, I thank you for the research track.


Sarathkumar V [Syncfusion]
Replied On December 29, 2015 09:27 AM UTC

Hi Sejalon,

Thank you for using Syncfusion product.

We have created a support incident for the reported Exception issue while using DocIO under your account.
Please log on to our support website to check for further updates



Replied On December 30, 2015 09:41 AM UTC

I solved my problem. if you have this type of error, verrify your Word document are .docx.

Sarathkumar V [Syncfusion]
Replied On December 31, 2015 10:42 AM UTC

Hi Sejalon,

We are happy to hear that the mentioned exception issue resolved by using .docx format document instead of .doc format document.
Please let us know if you need any further assistance on this. We will be happy to assist you as always.



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