Word encountered an error processing the XML file

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Converter for .NET (v1)  /  Re: Word encountered an error processing the XML file

DynamicPDF Converter for .NET (v1) Forum

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.
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.
Posted by a ceTe Software moderator
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.

All times are US Eastern Standard time. The time now is 4:53 AM.