Word encountered an error processing the XML file

Word encountered an error processing the XML file

Forum member · Aug 24, 2016
I get the following error when trying to convert a word document WITH comments: System.Exception: Conversion failed ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800A17D6): Word encountered an error processing the XML file MTP Unspecified error Location: Part: /word/document.xml, Line: 1, Column: 0 --- End of inner exception stack trace --- at p.b(i A_0, i A_1) --- End of inner exception stack trace --- at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions) at ceTe.DynamicPDF.Conversion.Program.a.b() at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0) at ceTe.DynamicPDF.Conversion.Program.a(Object A_0) ---------------------------------------------- Windows 8.1 x64 Office 2010 x86 CeTe PDF Converter v1.0.1 (Build 30555) VS 2015 If the same document WITHOUT comments is converted, no errors are thrown.

Re: Word encountered an error processing the XML file

Forum member · Aug 24, 2016
Can you please delete the thread? It's not a DynamicPDF Converter problem, earlier in my code the word document handled with OpenXML gets corrupted. I am sorry for this.

Re: Word encountered an error processing the XML file

Support · Aug 24, 2016
Hi, No problem, we can leave the thread as is. It will be helpful for other customers who may run into similar error when trying to convert corrupt MS Word documents. Thanks, ceTe Software Support Team.