I am not sure if this is a problem with Aspose.Word or Aspose.PDF, but I have a word template that I am performing a Merge on. I am then taking the resulting document and converting it to PDF.
The attached template works fine until I add the image in the header.
When I have the image up there, I get an error (see below).
What can I do to get this to work?
System.Web.Services.Protocols.SoapException was unhandled
Message="System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: Unknown sub element in HeaderFooter element. The element name is FloatingBox.\n at ഭ.᭩.᭪(Pdf ቭ, Section ᭁ, XmlTextReader ྡ, Boolean ᭫)\n at ഭ.᳡.᳢(Pdf , XmlTextReader ྡ)\n at ഭ.ᳵ.( ᪫, XmlTextReader ྡ)\n at ഭ..(XmlTextReader )\n at ഭ..(XmlDocument , XslTransform ᨶ)\n at Aspose.Pdf.Pdf.BindXML(XmlDocument xmlDoc, String xslFile)\n at AsposeWrapper.ConvertToPdf(Document documentToConvert)\n at MailMerge.MergeTemplateToPDF(Guid TemplateId, DataSet MergeData)\n --- End of inner exception stack trace