Free Support Forum - aspose.com

Field Separator nodes should be skipped when inserting into the layout

When I execute the following code:

Document doc;

Aspose.Words.License license = new Aspose.Words.License();

license.SetLicense("Aspose.Total.lic");

doc = new Document(WordDocFilename);

doc.Save(PDFfilename, SaveFormat.Pdf);

I version 6.5.0.0 I get the following exception:

Error doc.Save(C:\PRINT_SYSTEMS\ActivePDFPrintersStage\0577222-01-2180171-01-00-00001.doc.pdf) as PDF from WordDoc(C:\PRINT_SYSTEMS\ActivePDFPrintersStage\0577222-01-2180171-01-00-00001.doc)

Exception:

System.InvalidOperationException: Field Separator nodes should be skipped when inserting into the layout.

at ៪.㿇.㿠()

at ៪.㿇.㿖()

at ៪.

Ӟ.㠊(Document , ӟ ⎉)

at Aspose.Words.Document.UpdatePageLayout()

at Aspose.Words.Document.get_

Ӟ()

at Aspose.Words.Document.

ԃ(Stream Ӽ, String Ӻ, SaveFormat Ԅ)

at Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)

using version 8.0.0.0 I get the following exception:

at ➤.䃄.get_䃅()
at ➤.䁞.䁦()
at ➤.䁞.䁖()
at ➤.䁍.䁖()
at ᧋.Ӟ.㴦(Document ൦, ӟ ╸)
at Aspose.Words.Document.UpdatePageLayout()
at Aspose.Words.Document.get_Ӟ()
at Aspose.Words.Document.get_PageCount()
at Aspose.Words.Document.ԅ(Stream Ӿ, String Ӽ, SaveFormat Ԇ)
at Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)

I attached the word doc used to produce this error.

thanks

Graham

Hi

Thanks for your request. But I cannot see the file you have attached. Could you please reattach it here in the forum? I will check the issue and provide you more information.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Best regards,

file is attached to original posting

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

Best regards,

The issues you have found earlier (filed as 11848) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.