Hi,
We have been using aspose.pdf.kit dll version 2.5.2 for the merging process till date for our application.
Initially we found its working fine even with .net 3.5 and 2008 servers. But after some patches are done on the 2008 we are facing access violation exception with the details as follows.
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt"
This error had occured when we tried to instantiate the new form class of aspose.pdf on 2008 servers. Is there any thing we can use to solve the problem using the 2.5.2 version only.
our code is working fine 2005 servers.
If the latest version is to be used.
We also faced issues with the new version of aspose of .net 4.5 too (version 5.6.0.0).
The pdfbytes generated are converted to base 64 string following is the generated and thus resulting in error when tried to create a pdf file.
The w2pdf is converted to base64string and placed in a text box as is generated as shown in the file attached.
Following is the same code we used for all the version of the dll
Form pdfForm = new Form(pdfImageStream, w2PDFStream[count]);
pdfForm.ImportFdf(fdf_pdfStream[count]);
pdfForm.Save();
PdfFileEditor pdfEditor = new PdfFileEditor();
using (Stream w2PDFoutputStream = new MemoryStream())
{
pdfEditor.ConcatenateForms(w2PDFStream, w2PDFoutputStream);
w2PDF = new byte[(int)w2PDFoutputStream.Length];
w2PDFoutputStream.Read(w2PDF, 0, (int)w2PDFoutputStream.Length);
}
Please let me know if any more detail is required.
Please let us know th solutions for these issues.