Posted 13 July 2020, 2:25 am EST
I’m getting this strange error while loading the PDF template.
Error message below.
This exception was originally thrown at this call stack:
GrapeCity.Documents.Pdf.AcroForms.FieldCollection.a(GrapeCity.Documents.Pdf.AcroForms.Field)
GrapeCity.Documents.Pdf.AcroForms.FieldCollection.InsertItem(int, GrapeCity.Documents.Pdf.AcroForms.Field)
GrapeCity.Documents.Pdf.AcroForms.AcroForm.a(GrapeCity.Documents.Pdf.Spec.IPdfDictHolder)
GrapeCity.Documents.Pdf.GcPdfDocument.a(GrapeCity.Documents.Pdf.Spec.IPdfDictHolder)
GrapeCity.Documents.Pdf.GcPdfDocument.Load(System.IO.Stream, string)
GrapeCity.Documents.Pdf.PdfException: ‘Unexpected exception occurred while parsing PDF document.
[Field] with name [Memo 462] already exists.’
Source code below.
var pdfDocument = new GcPdfDocument(_grapeCityLicense); var stream = .... pdfDocument.Load( stream );